[issue45682] Nicer default logging format

Vinay Sajip report at bugs.python.org
Sun Oct 31 13:52:38 EDT 2021


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

> However in the case of logging, an argument could be made that changing the default would have less impact.

Except that people may have used the current basic format in, for example, unit tests, and that code could break after a change like the one proposed. The default has been intentionally kept minimal for the very simplest of needs and it is easy to override this default using e.g. basicConfig() for simple needs or e.g. dictConfig() for more elaborate needs.

For those reasons, I don't think this default should be changed.

----------
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list