Module: syslog | Zope-2.2.1-src/lib/python/ZLogger/syslog.py | |||||||
---|---|---|---|---|---|---|---|---|
socket interface to unix syslog. On Unix, there are usually two ways of getting to syslog: via a local unix-domain socket, or via the TCP service. Usually "/dev/log" is the unix domain socket. This may be different for other systems. >>> my_client = syslog_client ( Otherwise, just use the UDP version, port 514. >>> my_client = syslog_client (( On win32, you will have to use the UDP version. Note that you can use this to log to other hosts (and indeed, multiple hosts). This module is not a drop-in replacement for the python
Usage: >>> c = syslog_client()
>>> c = syslog_client (
|