summaryrefslogtreecommitdiffstats
path: root/Lib/logging/handlers.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-08-20 08:43:22 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-08-20 08:43:22 (GMT)
commit89d8f82d01b7d0191c07d5553979ffe53d55cf6e (patch)
tree1bf3f0b6dbf44f7bb16e35b89f4d709b6ac20073 /Lib/logging/handlers.py
parent0ceb671affe47c29776b433e73c7ffd4d1fedda0 (diff)
downloadcpython-89d8f82d01b7d0191c07d5553979ffe53d55cf6e.zip
cpython-89d8f82d01b7d0191c07d5553979ffe53d55cf6e.tar.gz
cpython-89d8f82d01b7d0191c07d5553979ffe53d55cf6e.tar.bz2
Issue #7077: Fixed bug in previous fix.
Diffstat (limited to 'Lib/logging/handlers.py')
-rw-r--r--Lib/logging/handlers.py2
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.