[ python-Bugs-1396040 ] TimedRotatingFileHandler does not recover from open error
SourceForge.net
noreply at sourceforge.net
Tue Jan 3 15:38:54 CET 2006
Bugs item #1396040, was opened at 2006-01-03 14:38
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=1396040&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 does not recover from open error
Initial Comment:
When doing a rollover TimedRotatingFileHandler
doRollover does not recover if there is an open
error. This is because when the rollover function
fails at the open (e.g. too many files open) and is
called again at the next attempt to write to the log
doRollover attempts to rename (the now no longer
existing) original file which raises an exception.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1396040&group_id=5470
More information about the Python-bugs-list
mailing list