[ python-Bugs-1396622 ] TimedRotatingFileHandler midnight rollover time increases
SourceForge.net
noreply at sourceforge.net
Wed Jan 4 09:25:41 CET 2006
Bugs item #1396622, was opened at 2006-01-04 08:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1396622&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Waters (awaters)
Assigned to: Nobody/Anonymous (nobody)
Summary: TimedRotatingFileHandler midnight rollover time increases
Initial Comment:
When calculating the next rollover time the
calculation uses the current time plus the interval.
Unless the log file is written exactly at midnight
the rollover time becomes the current time + 1 day.
So for example, if the log is written at 2:00am then
the next rollover time will be 2:00am the following
day rather than midnight.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1396622&group_id=5470
More information about the Python-bugs-list
mailing list