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 <1565811970.47.0.529067236549.issue37857@roundup.psfhosted.org>
In-reply-to
Content
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: https://review.opendev.org/676450
History
Date User Action Args
2019-08-14 19:46:10zanebsetrecipients: + zaneb
2019-08-14 19:46:10zanebsetmessageid: <1565811970.47.0.529067236549.issue37857@roundup.psfhosted.org>
2019-08-14 19:46:10zaneblinkissue37857 messages
2019-08-14 19:46:10zanebcreate