[issue37857] Setting logger.level directly has no effect due to caching in 3.7+

Vinay Sajip report at bugs.python.org
Sat Sep 21 23:30:37 EDT 2019


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

> Obviously the fix could be just to stop doing that in the standard library

Well, that's the right fix, and thanks for spotting it. I've applied those changes (42b6c5d and 19c42fb) to the master, 3.8 and 3.7 branches.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37857>
_______________________________________


More information about the Python-bugs-list mailing list