Message376308
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. |
|
Date |
User |
Action |
Args |
2020-09-03 15:29:29 | jackjansen | set | recipients:
+ jackjansen |
2020-09-03 15:29:29 | jackjansen | set | messageid: <1599146969.01.0.981479655014.issue41704@roundup.psfhosted.org> |
2020-09-03 15:29:28 | jackjansen | link | issue41704 messages |
2020-09-03 15:29:28 | jackjansen | create | |
|