[issue14452] SysLogHandler sends invalid messages when using unicode

Daniel Pocock report at bugs.python.org
Tue Jul 29 14:38:21 CEST 2014


Daniel Pocock added the comment:

As a workaround, Python 3.2 users can clobber the global variable codecs like this from their own init code:

    logging.handlers.codec = None

There is a more complete example here:

https://github.com/dpocock/python-rfc5424-logging-formatter

----------
nosy: +pocock

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


More information about the Python-bugs-list mailing list