[Python-checkins] r84222 - python/branches/py3k/Lib/logging/handlers.py

vinay.sajip python-checkins at python.org
Fri Aug 20 10:43:22 CEST 2010


Author: vinay.sajip
Date: Fri Aug 20 10:43:22 2010
New Revision: 84222

Log:
Issue #7077: Fixed bug in previous fix.

Modified:
   python/branches/py3k/Lib/logging/handlers.py

Modified: python/branches/py3k/Lib/logging/handlers.py
==============================================================================
--- python/branches/py3k/Lib/logging/handlers.py	(original)
+++ python/branches/py3k/Lib/logging/handlers.py	Fri Aug 20 10:43:22 2010
@@ -770,7 +770,7 @@
         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.


More information about the Python-checkins mailing list