[issue11907] SysLogHandler can't send long messages

Vinay Sajip report at bugs.python.org
Sat Apr 23 21:07:03 CEST 2011


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

I've managed to get access to a FreeBSD system and done some investigation. The system is working as designed, and the error message is being printed by the handleError() method of the handler. To handle the exception differently, you either set logging.raiseExceptions to False (which will cause logging to swallow the exception) or you need to implement your own handler which takes appropriate action (e.g truncates the message).

Closing as invalid.

----------
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11907>
_______________________________________


More information about the Python-bugs-list mailing list