[ python-Bugs-1396040 ] TimedRotatingFileHandler does not recover from open error

SourceForge.net noreply at sourceforge.net
Mon Jan 16 10:30:51 CET 2006


Bugs item #1396040, was opened at 2006-01-03 14:38
Message generated for change (Comment added) made by vsajip
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: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Andrew Waters (awaters)
Assigned to: Vinay Sajip (vsajip)
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.

----------------------------------------------------------------------

>Comment By: Vinay Sajip (vsajip)
Date: 2006-01-16 09:30

Message:
Logged In: YES 
user_id=308438

Change checked into SVN trunk and release24-maint branch
which passes exceptions raised during renaming to
handleError (except for SystemExit and KeyboardInterrupt,
which are re-raised).

----------------------------------------------------------------------

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