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")
Project details
Release history Release notifications | RSS feed
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 details)
File details
Details for the file syslogging-0.1.1.tar.gz.
File metadata
- Download URL: syslogging-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ca71b864e0da5e9d275ca358938693422712f18ff49fba8c21da714f10b03b7
|
|
| MD5 |
4359264ec9ce81171f81a156d5896747
|
|
| BLAKE2b-256 |
2ad493c8c7f2819d71d865495a7f3abd61595942c0333da6b5834bd96a46e4ea
|