[issue16244] TimedRotatingFileHandler forces "write" mode, should use "append"

axil report at bugs.python.org
Tue Dec 10 22:00:39 CET 2013


axil added the comment:

This fix breaks the behavior of RotatingFileHandler.

Maxbytes>0 can now be only used with backupCount>0 otherwise it is ignored.

So all programs that are using Maxbytes>0 and backupCount=0 are now facing an infinitely growing logfile.

----------
nosy: +axil
type: behavior -> resource usage
versions: +Python 2.7
Added file: http://bugs.python.org/file33085/test.py

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


More information about the Python-bugs-list mailing list