twisted.python.syslog module documentationtwisted.python
View Source
Classes and utility functions for integrating Twisted and syslog.
You probably want to call startLogging.
| Class | SyslogObserver | A log observer for logging to syslog. |
| Function | startLogging | Send all Twisted logging output to syslog from now on. |
Send all Twisted logging output to syslog from now on.
The prefix, options and facility arguments are passed to
syslog.openlog(), see the Python syslog documentation for
details. For other parameters, see twisted.python.log.startLoggingWithObserver.