summaryrefslogtreecommitdiffstats
path: root/Lib/logging/handlers.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-04-16 13:44:31 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-04-16 13:44:31 (GMT)
commitb4e59e9dc1a830cbadd02f11cfa8266618534ddb (patch)
tree713f95bcb31523b76023d2c4fb7bbb9af1bfff12 /Lib/logging/handlers.py
parentb206a80dab519256a348e9800c4e52659d948359 (diff)
parentee9e485c214b9348bc2e6bd3771d1a9be004a653 (diff)
downloadcpython-b4e59e9dc1a830cbadd02f11cfa8266618534ddb.zip
cpython-b4e59e9dc1a830cbadd02f11cfa8266618534ddb.tar.gz
cpython-b4e59e9dc1a830cbadd02f11cfa8266618534ddb.tar.bz2
Closes #14452: remove BOM insertion code.
Diffstat (limited to 'Lib/logging/handlers.py')
-rw-r--r--Lib/logging/handlers.py2
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: