[Python-Dev] StreamHandler eating exceptions (original) (raw)
Vinay Sajip vinay_sajip at yahoo.co.uk
Mon Oct 31 14:59:53 CET 2005
- Previous message: [Python-Dev] StreamHandler eating exceptions
- Next message: [Python-Dev] StreamHandler eating exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gustavo Niemeyer <gustavo niemeyer.net> writes:
The StreamHandler available under the logging package is currently catching all exceptions under the emit() method call. In the Handler.handleError() documentation it's mentioned that it's implemented like that because users do not care about errors in the logging system. I'd like to apply the following patch: [patch snipped] Anyone against the change?
Good idea. I've checked into svn a patch for both logging/init.py and logging/handlers.py which raises both KeyboardInterrupt and SystemExit raised during emit().
- Previous message: [Python-Dev] StreamHandler eating exceptions
- Next message: [Python-Dev] StreamHandler eating exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]