[ python-Bugs-1396622 ] TimedRotatingFileHandler midnight rollover time increases
SourceForge.net
noreply at sourceforge.net
Thu Jan 5 06:47:00 CET 2006
Bugs item #1396622, was opened at 2006-01-04 00:25
Message generated for change (Comment added) made by nnorwitz
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: Vinay Sajip (vsajip)
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.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-01-04 21:46
Message:
Logged In: YES
user_id=33168
Vinay, any comments?
----------------------------------------------------------------------
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