This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients jaraco, ned.deily, ronaldoussoren, vinay.sajip
Date 2019-11-12.21:46:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573595210.87.0.932539047785.issue38780@roundup.psfhosted.org>
In-reply-to
Content
As you noted /dev/log doesn't exist on macOS (the correct path is /var/run/syslog).

I guess the change that would be most in spirit of the comment is to set self.socket to None when the socket cannot be opened and test for that before closing the socket.  Likewise, emit() can test if self.socket is None and then attempt to open the socket (and not write to the log when the socket still is None)

This makes errors pass silently, but does match the spirit of the POSIX API (where the syslog function does not return an error).
History
Date User Action Args
2019-11-12 21:46:50ronaldoussorensetrecipients: + ronaldoussoren, vinay.sajip, jaraco, ned.deily
2019-11-12 21:46:50ronaldoussorensetmessageid: <1573595210.87.0.932539047785.issue38780@roundup.psfhosted.org>
2019-11-12 21:46:50ronaldoussorenlinkissue38780 messages
2019-11-12 21:46:50ronaldoussorencreate