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.