Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

A logging Handler that logs to syslog using syslog(3)

Project description

This modules provides a LogHandler for pythons logging system that logs to the system logger using syslog(3) instead of talking to the system logger over socket connections directly.

Example::
>>> import logging
>>> from syslogging import SyslogHandler
>>> logger = logging.getLogger("my-application")
>>> logger.addHandler(SyslogHandler("my-application"))
>>> logger.error("Hello World")

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page