Skip to main content

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.

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syslogging-0.1.1.tar.gz (3.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page