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 zaneb
Recipients zaneb
Date 2019-08-14.19:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is a related issue to bug 34269, in the sense that it is also due to the caching added by the fix for bug 30962.

In this case, the bug is triggered by setting the public 'level' attribute of a logging.Logger object, instead of calling the setLevel() method. Although this was probably never a good idea, prior to Python3.7 it worked as expected. Now it renders the level out of sync with the cache, leading to inconsistent results that are hard to debug.

An example in the wild:
Date User Action Args
2019-08-14 19:46:10zanebsetrecipients: + zaneb
2019-08-14 19:46:10zanebsetmessageid: <>
2019-08-14 19:46:10zaneblinkissue37857 messages
2019-08-14 19:46:10zanebcreate