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 vinay.sajip
Recipients jackjansen, vinay.sajip
Date 2020-09-03.18:57:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599159450.15.0.660921567255.issue41704@roundup.psfhosted.org>
In-reply-to
Content
> 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 which libraries are causing this type of problem for you?

I'm not sure emitting a message using the logging machinery itself would work as expected, as under the changed configuration the dispatch of logging messages might not work as you expect.

Why does setting breakpoints on logging.basicConfig, logging.config.fileConfig and logging.config.dictConfig not work for your use case?
History
Date User Action Args
2020-09-03 18:57:30vinay.sajipsetrecipients: + vinay.sajip, jackjansen
2020-09-03 18:57:30vinay.sajipsetmessageid: <1599159450.15.0.660921567255.issue41704@roundup.psfhosted.org>
2020-09-03 18:57:30vinay.sajiplinkissue41704 messages
2020-09-03 18:57:30vinay.sajipcreate