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.

Author vinay.sajip
Recipients vinay.sajip, yateenjoshi
Date 2010-01-11.07:08:17
SpamBayes Score 0.00070549664
Marked as misclassified No
Message-id <87238.32240.qm@web25801.mail.ukl.yahoo.com>
In-reply-to <1263190821.33.0.649133170026.issue7664@psf.upfronthosting.co.za>
Content
> 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().
History
Date User Action Args
2010-01-11 07:08:19vinay.sajipsetrecipients: + vinay.sajip, yateenjoshi
2010-01-11 07:08:18vinay.sajiplinkissue7664 messages
2010-01-11 07:08:17vinay.sajipcreate