diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/logging/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index 198625b..d0e1425 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -850,7 +850,7 @@ class SysLogHandler(logging.Handler): prio = prio.encode('utf-8') # Message is a string. Convert to bytes as required by RFC 5424 msg = msg.encode('utf-8') - msg = prio + BOM_UTF8 + msg + msg = prio + msg try: if self.unixsocket: try: |