From 89d8f82d01b7d0191c07d5553979ffe53d55cf6e Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Fri, 20 Aug 2010 08:43:22 +0000 Subject: [PATCH] Issue #7077: Fixed bug in previous fix. --- Lib/logging/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index dc2d973a640..5f838e57e57 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.