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 piotr.dobrogost
Recipients maggyero, piotr.dobrogost, vinay.sajip
Date 2020-10-13.15:10:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602601844.46.0.953389144361.issue36318@roundup.psfhosted.org>
In-reply-to
Content
I strongly agree with arguments given by the original poster. Stackoverflow's questions cited show the functionality of disabling logger is something people are looking for.
Disabling logger by setting high enough level seems to be a workaround at best (sys.maxsize - 
 really?). More in the spirit of an on/off toggle is a filter blocking all records but this clearly feels like another workaround for something which should have been (and in fact already is, albeit unofficially) a simple boolean flag.
Not hiding "disabled" property behind underscore might have been a good thing after all. Making it official and supported by dictConfig() would remove clearly expressed pain point of users of the logging module.
History
Date User Action Args
2020-10-13 15:10:44piotr.dobrogostsetrecipients: + piotr.dobrogost, vinay.sajip, maggyero
2020-10-13 15:10:44piotr.dobrogostsetmessageid: <1602601844.46.0.953389144361.issue36318@roundup.psfhosted.org>
2020-10-13 15:10:44piotr.dobrogostlinkissue36318 messages
2020-10-13 15:10:43piotr.dobrogostcreate