Message97579
> From: Yateen V. Joshi <report@bugs.python.org>
> A question however, I do not see IOError exception being handled
> anywhere in the logging module. Is it not possible that the same would
> occur when we are trying to 'emit' a record to a log file? Or some other
> IO related processing is happening at logger level?
If you look carefully at the code in the module, you will see code like
except:
self.handleError(record)
which *will* catch IOError. In handleError, you would have access to the exception via sys.exc_info(). |
|
Date |
User |
Action |
Args |
2010-01-11 07:08:19 | vinay.sajip | set | recipients:
+ vinay.sajip, yateenjoshi |
2010-01-11 07:08:18 | vinay.sajip | link | issue7664 messages |
2010-01-11 07:08:17 | vinay.sajip | create | |
|