Part of lp.services.twistedsupport.loggingsupport View In Hierarchy
DailyLogFile
to serve Launchpad purposes.
Additionally to the original daily log file rotation it also allows call sites to control the number of rotated logfiles kept around and when to start compressing them.
Method | __init__ | Undocumented |
Method | rotate | Rotate the current logfile. |
Method | listLogs | Return the list of rotate log files, newest first. |
Method | _compressFile | Compress the file in the given path using bzip2. |