diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-08-20 08:43:22 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-08-20 08:43:22 (GMT) |
commit | 89d8f82d01b7d0191c07d5553979ffe53d55cf6e (patch) | |
tree | 1bf3f0b6dbf44f7bb16e35b89f4d709b6ac20073 /Lib/logging | |
parent | 0ceb671affe47c29776b433e73c7ffd4d1fedda0 (diff) | |
download | cpython-89d8f82d01b7d0191c07d5553979ffe53d55cf6e.zip cpython-89d8f82d01b7d0191c07d5553979ffe53d55cf6e.tar.gz cpython-89d8f82d01b7d0191c07d5553979ffe53d55cf6e.tar.bz2 |
Issue #7077: Fixed bug in previous fix.
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index dc2d973..5f838e5 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -770,7 +770,7 @@ class SysLogHandler(logging.Handler): The record is formatted, and then sent to the syslog server. If 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 change in the future. |