]> granicus.if.org Git - python/commitdiff
Issue #7077: Fixed bug in previous fix.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 20 Aug 2010 08:43:22 +0000 (08:43 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 20 Aug 2010 08:43:22 +0000 (08:43 +0000)
Lib/logging/handlers.py

index dc2d973a6407d002451e5611be1107db2b40f2bb..5f838e57e573b08f30dbe2f7d24b69f7ea75b571 100644 (file)
@@ -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.