[issue33423] [logging] Improve consistency of logger mechanism.

Vinay Sajip report at bugs.python.org
Fri Jun 8 06:11:54 EDT 2018


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

You can't make the proposed change (removing call to basicConfig() from logging.debug() etc.) without breaking backwards compatibility.

The inconsistency is just a consequence of how you choose to mix and match calls to the module-level convenience functions and calls to individual loggers.

I've marked the resolution for this as "not a bug" rather than "wontfix" even though the issue is of type "enhancement". That's because I don't think the proposed change will be an actual enhancement over the status quo.

----------
nosy: +vinay.sajip
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list