This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yorik.sar
Recipients yorik.sar
Date 2010-03-11.12:34:01
SpamBayes Score 0.0009850538
Marked as misclassified No
Message-id <1268310844.09.0.779235952938.issue8117@psf.upfronthosting.co.za>
In-reply-to
Content
Screnario:
 - start logging, log something;
 - stop logging (stop application, for example);
 - start logging again after rotate interval passes.

log4j's RotatingFileAppender's behavior:
After restart, logfile is rotated if nessesary.

TimedRotatingFileHandler's behavior:
After restart do no checks on existing logs.

I thing, log4j's behavior is more intuitive. Patch adds necessary check to constructor.
History
Date User Action Args
2010-03-11 12:34:04yorik.sarsetrecipients: + yorik.sar
2010-03-11 12:34:04yorik.sarsetmessageid: <1268310844.09.0.779235952938.issue8117@psf.upfronthosting.co.za>
2010-03-11 12:34:02yorik.sarlinkissue8117 messages
2010-03-11 12:34:02yorik.sarcreate