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 ronaldoussoren
Recipients ronaldoussoren
Date 2010-08-10.11:57:34
SpamBayes Score 8.803865e-06
Marked as misclassified No
Message-id <1281441457.15.0.524451784963.issue9556@psf.upfronthosting.co.za>
In-reply-to
Content
The logging module contains a TimedRotatingFileHandler that automaticly rotates the logfile after a specified interval.

This class misses an important feature: it is not possible to specify at what time the file should be rotated, unless that time is midnight.

My usecase: one of our customers works night shifts which means that rotating logfiles at midnight means that files get rotated halfway through a shift instead of at the end of one.

We'd like to be able to specify that logfiles get rotated at a specific time (such as 7:00AM).
History
Date User Action Args
2010-08-10 11:57:37ronaldoussorensetrecipients: + ronaldoussoren
2010-08-10 11:57:37ronaldoussorensetmessageid: <1281441457.15.0.524451784963.issue9556@psf.upfronthosting.co.za>
2010-08-10 11:57:35ronaldoussorenlinkissue9556 messages
2010-08-10 11:57:34ronaldoussorencreate