[docs] [issue25226] "suffix" attribute not documented in logging.TimedRotatingFileHandler

Vinay Sajip report at bugs.python.org
Sun Feb 7 13:49:50 EST 2016


Vinay Sajip added the comment:

It's not documented, and not intended to be changeable by the user, because it is not set to a fixed value - the value depends on the "when" (to rollover) and "interval" arguments to the handler initializer. If you really need to have functionality other than the default, the way to do this is by creating a subclass and changing its behaviour appropriately.

IMO the accepted SO answer you linked to doesn't give correct advice.

----------
resolution:  -> not a bug
status: open -> closed

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


More information about the docs mailing list