[issue41704] logging module needs some form of introspection or debugging support

2020-09-04 Thread Jack Jansen
Jack Jansen added the comment: @vinay, absolutely right on this being an anti-pattern:-) And also right on the statement that I can set a breakpoint on all three of logging.basicConfig, logging.config.fileConfig and logging.config.dictConfig, I had overlooked that (was looking for a single p

[issue41704] logging module needs some form of introspection or debugging support

2020-09-03 Thread Vinay Sajip
Vinay Sajip added the comment: > if any author of any module that you use changes the global logger > configuration This is an anti-pattern - any library module which does this should have a bug report raised about it. Only applications should change the logging configuration. Can you share

[issue41704] logging module needs some form of introspection or debugging support

2020-09-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue41704] logging module needs some form of introspection or debugging support

2020-09-03 Thread Jack Jansen
New submission from Jack Jansen : 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 si