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.

Title: TimedRotatingFileHandler does not recover from open error
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: vinay.sajip Nosy List: awaters, vinay.sajip
Priority: normal Keywords:

Created on 2006-01-03 14:38 by awaters, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27223 - (view) Author: Andrew Waters (awaters) Date: 2006-01-03 14:38
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.
msg27224 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2006-01-16 09:30
Logged In: YES 

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).
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42754
2006-01-03 14:38:53awaterscreate