[Python-checkins] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803)

vsajip webhook-mailer at python.org
Thu Aug 25 03:27:47 EDT 2022


https://github.com/python/cpython/commit/8db7693bbff55f5ed4bfc194c77c561e71471bf3
commit: 8db7693bbff55f5ed4bfc194c77c561e71471bf3
branch: main
author: Vinay Sajip <vinay_sajip at yahoo.co.uk>
committer: vsajip <vinay_sajip at yahoo.co.uk>
date: 2022-08-25T08:27:30+01:00
summary:

gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803)

files:
M Doc/library/logging.handlers.rst

diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index 0dc05255db9..f125dfe64a0 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -629,6 +629,12 @@ supports sending logging messages to a remote or local Unix syslog.
    application needs to run on several platforms). On Windows, you pretty
    much have to use the UDP option.
 
+   .. note:: On macOS 12.x (Monterey), Apple has changed the behaviour of their
+      syslog daemon - it no longer listens on a domain socket. Therefore, you cannot
+      expect :class:`SysLogHandler` to work on this system.
+
+      See :gh:`91070` for more information.
+
    .. versionchanged:: 3.2
       *socktype* was added.
 



More information about the Python-checkins mailing list