Issue 1396040: TimedRotatingFileHandler does not recover from open error (original) (raw)

Issue1396040

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 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).
History
Date User Action Args
2022-04-11 14:56:14 admin set github: 42754
2006-01-03 14:38:53 awaters create