Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b206a80 + ee9e485 commit b4e59e9Copy full SHA for b4e59e9
2 files changed
Lib/logging/handlers.py
@@ -850,7 +850,7 @@ def emit(self, record):
850
prio = prio.encode('utf-8')
851
# Message is a string. Convert to bytes as required by RFC 5424
852
msg = msg.encode('utf-8')
853
- msg = prio + BOM_UTF8 + msg
+ msg = prio + msg
854
try:
855
if self.unixsocket:
856
Misc/NEWS
@@ -36,6 +36,8 @@ Core and Builtins
36
Library
37
-------
38
39
+- Issue #14452: SysLogHandler no longer inserts a UTF-8 BOM into the message.
40
+
41
- Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType.
42
43
- Issue #13959: Make imp.reload() always use a module's __loader__ to perform
0 commit comments