Vinay Sajip <vinay_sa...@yahoo.co.uk> 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 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41704> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com