[issue26789] Please do not log during shutdown

STINNER Victor report at bugs.python.org
Tue Feb 21 09:39:20 EST 2017


STINNER Victor added the comment:

> Please do not log during shutdown

These logs are supposed to help you to find bugs in your application. Sadly, it's hard to log errors during Python shutdown because Pyhon is destroying its world: many basic functions are broken during shutdown.

We already fixed many errors, but not that one.

IMHO it's worth it to repair the logging module to be able to log during shutdown.

The logging module should be be enhanced to handle more nicely such error during Python finalization.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26789>
_______________________________________


More information about the Python-bugs-list mailing list