Trees | Indices | Help |
|
---|
|
Filterer --+ | Handler --+ | StreamHandler --+ | FileHandler --+ | BaseRotatingHandler --+ | TimedRotatingFileHandler
Handler for logging to a file, rotating the log file at certain timed intervals.
If backupCount is > 0, when rollover is done, no more than backupCount files are kept - the oldest ones are deleted.
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
Use the specified filename for streamed logging
|
Determine if rollover should occur record is not used, as we are just comparing times, but it is needed so the method siguratures are the same |
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. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 13 23:38:44 2008 | http://epydoc.sourceforge.net |