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 jaraco
Recipients jaraco, ned.deily, ronaldoussoren, vinay.sajip
Date 2019-11-12.19:42:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573587724.47.0.646861908586.issue38780@roundup.psfhosted.org>
In-reply-to
Content
I could imagine extending the shutdown code to catch the reported error (https://github.com/python/cpython/blob/138ccbb02216ca086047c3139857fb44f3dab1f9/Lib/logging/__init__.py#L2130-L2135), but that wouldn't address the error in emit.

Similarly, the SysLogHandler could override shutdown to bypass the error if no socket attribute is present, but that again wouldn't address the emit case.
History
Date User Action Args
2019-11-12 19:42:04jaracosetrecipients: + jaraco, vinay.sajip, ronaldoussoren, ned.deily
2019-11-12 19:42:04jaracosetmessageid: <1573587724.47.0.646861908586.issue38780@roundup.psfhosted.org>
2019-11-12 19:42:04jaracolinkissue38780 messages
2019-11-12 19:42:04jaracocreate