syslog-py · PyPI
https://pypi.org/project/syslog-py15.01.2021 · As a program name SyslogClient the PID of the called python interpreter is used. client.log ("Hello syslog server") To specify more options, call log with more arguments. For example to log the message as program Logger with PID 1 as facility SYSTEM with severity EMERGENCY, call log the following way:
pysyslogclient · PyPI
pypi.org › project › pysyslogclientMar 17, 2017 · client = pysyslogclient.SyslogClientRFC3164(SERVER, PORT, proto="TCP") ``` ### Log a messsage Log the message "Hello syslog server" with standard severity *INFO* as facility *USER*. As program name *SyslogClient* the PID of the called python interpreter is used. ``` client.log("Hello syslog server") ``` To specify more options, call log with ...
pysyslogclient · PyPI
https://pypi.org/project/pysyslogclient17.03.2017 · As program name *SyslogClient* the PID of the called python interpreter is used. ``` client.log ("Hello syslog server") ``` To specify more options, call log with more arguments. For example to log a the message as program *Logger* with PID *1* as facility *SYSTEM* with severity *EMERGENCY*, call log the following way: ```