The SysLogHandler class, located in the logging.handlers module, supports sending logging messages to a remote or local Unix syslog.
| [address[, facility]]) |
(host, port)
tuple. If address is not specified, ('localhost', 514) is
used. The address is used to open a UDP socket. An alternative to providing
a (host, port) tuple is providing an address as a string,
for example "/dev/log". In this case, a Unix domain socket is used to send
the message to the syslog. If facility is not specified,
LOG_USER is used.
| ) |
| record) |
| facility, priority) |
See About this document... for information on suggesting changes.