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 ngie
Recipients calcheng, ngie
Date 2019-10-02.22:15:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Capturing more context here, based on internal discussion: other handlers are doing address resolution in `emit()` (HTTPHandler, SMTPHandler), which is expensive. In order for SysLogHandler to not regress behavior and not become expensive, performance-wise, it would probably be best to use `functools.lru_cache()`, using the address and a timeout as the key when resolving the addresses to avoid always doing address resolutions, e.g., DNS lookups: .
Date User Action Args
2019-10-02 22:15:33ngiesetrecipients: + ngie, calcheng
2019-10-02 22:15:33ngiesetmessageid: <>
2019-10-02 22:15:33ngielinkissue38354 messages
2019-10-02 22:15:33ngiecreate