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 vinay.sajip
Recipients gwerbin, vinay.sajip
Date 2021-09-20.08:20:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632126002.55.0.207695221603.issue45027@roundup.psfhosted.org>
In-reply-to
Content
> This selectively _disables_ a logger. That isn't the same thing as selectively _enabling_ only the loggers you want to enable.

Your earlier comment referred to getting unwanted messages from third-party loggers. Suppressing the messages implies disabling them in some way.

> That's fair enough, but why make people do the above (which is somewhat unintuitive)

That's your opinion, but it doesn't seem that this view is widespread. We provide basicConfig() for simple configuration and dictConfig() for more elaborate requirements; dictConfig() was reviewed by Python developers in PEP 391 and accepted.

> I could also publish this as a separate package on PyPI

By all means, do that. As I've already said, I've no wish to add yet another way of configuring logging. If your PyPI package gains wide adoption, we can always revisit this.
History
Date User Action Args
2021-09-20 08:20:02vinay.sajipsetrecipients: + vinay.sajip, gwerbin
2021-09-20 08:20:02vinay.sajipsetmessageid: <1632126002.55.0.207695221603.issue45027@roundup.psfhosted.org>
2021-09-20 08:20:02vinay.sajiplinkissue45027 messages
2021-09-20 08:20:02vinay.sajipcreate