[issue9512] logging.handlers.RotatingFileHandler - mode argument not respected

Vinay Sajip report at bugs.python.org
Mon Aug 23 02:18:50 CEST 2010


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

The rotating handlers provided with the logging package are expected to be simple append-only handlers; if you need more specialised behaviour you need to subclass and implement what you need.

The ELFF is about request logging, not application logging.

Using the YAGNI principle, we don't implement features for which there is no apparent need. As there is no apparent need to support the a+ mode in a rotating handler in Python (since you have the ability to subclass and override), I'll close this issue.

----------
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list