Issue #7077: Fixed bug in previous fix.

This commit is contained in:
Vinay Sajip 2010-08-20 08:43:22 +00:00
parent 0ceb671aff
commit 89d8f82d01
1 changed files with 1 additions and 1 deletions

View File

@ -770,7 +770,7 @@ class SysLogHandler(logging.Handler):
The record is formatted, and then sent to the syslog server. If The record is formatted, and then sent to the syslog server. If
exception information is present, it is NOT sent to the server. exception information is present, it is NOT sent to the server.
""" """
msg = self.format(record) msg = self.format(record) + '\000'
""" """
We need to convert record level to lowercase, maybe this will We need to convert record level to lowercase, maybe this will
change in the future. change in the future.