[issue13516] Gzip old log files in rotating handlers

Vinay Sajip report at bugs.python.org
Thu Aug 18 14:00:55 EDT 2016


Vinay Sajip added the comment:

You don't need a subclass - you can specify your own function to do it, as in the cookbook example:

https://docs.python.org/3/howto/logging-cookbook.html#using-a-rotator-and-namer-to-customize-log-rotation-processing

----------

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


More information about the Python-bugs-list mailing list