This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jackjansen
Recipients jackjansen
Date 2020-09-03.15:29:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599146969.01.0.981479655014.issue41704@roundup.psfhosted.org>
In-reply-to
Content
The logging module and its API make it easy to modify the behaviour of all loggers used in any package in your program.

Unfortunately the downside of this is that if any author of any module that you use changes the global logger configuration you get in a situation where all your logger calls are not behaving as expected. Moreover, it is very difficult to debug this and to find the culprit.

If the logger module had a global "debug logger usage" flag which would make it emit a log message whenever a call changed the global configuration this would help, especially if the messages were vectored through a single function or method that you could then set a breakpoint on.
History
Date User Action Args
2020-09-03 15:29:29jackjansensetrecipients: + jackjansen
2020-09-03 15:29:29jackjansensetmessageid: <1599146969.01.0.981479655014.issue41704@roundup.psfhosted.org>
2020-09-03 15:29:28jackjansenlinkissue41704 messages
2020-09-03 15:29:28jackjansencreate