New submission from Joshua Olson:
For low volume loggers RotatingFileHandler and TimedRotatingFileHandler will
create possibly unnecessary files on doRollover, since they don't check the
value of delay when opening the new self.stream.
self.stream = self._open()
should be something like
if not self.delay:
self.stream = self._open()
----------
messages: 197036
nosy: solarmist
priority: normal
severity: normal
status: open
title: RotatingFileHandler and TimedRotatingFileHandler do not respect delay on
rollover
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18941>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com