PyDocs

Nav

Generic Operating System Services

TimedRotatingFileHandler.doRollover

  • TimedRotatingFileHandler.doRollover()
do a rollover; in this case, a date/time stamp is appended to the filename
when the rollover happens.  However, you want the file to be named for the
start of the interval, not the current time.  If there is a backup count,
then we have to get a list of matching filenames, sort them and remove
the one with the oldest suffix.
0 Examples
No examples for logging.handlers/TimedRotatingFileHandler.doRollover.
See Also
No see-alsos for logging.handlers/TimedRotatingFileHandler.doRollover
0 Notes
No notes for TimedRotatingFileHandler.doRollover