[Python-ideas] Logging Levels

Serhiy Storchaka storchaka at gmail.com
Tue Nov 28 15:17:49 EST 2017

28.11.17 21:45, Guido van Rossum пише:
> These look like good improvements. I think you should make an issue on 
> bugs.python.org <http://bugs.python.org> describing your proposal and if 
> you can submit a PR that implements it.

See https://bugs.python.org/issue31732

It was discussed and rejected. Citing Raymond: "Overall, this seems 
rehash and second guess the discussions and decisions made 15 years ago 
when PEP 282 was accepted."

The set of logging levels is not closed. The user can extend it to cover 
more specialized uses by logging.addLevelName(). There are disadvantages 
of having too much standard names for logging levels (as we can see in 

More information about the Python-ideas mailing list