syslog-py · PyPI
pypi.org › project › syslog-pyJan 15, 2021 · import SyslogClient client = pysyslogclient.SyslogClientRFC3164 (SERVER, PORT, proto="TCP") Log a message Log the message "Hello syslog server" with standard severity INFO as facility USER. As a program name SyslogClient the PID of the called python interpreter is used. client.log ("Hello syslog server")
syslog-py · PyPI
https://pypi.org/project/syslog-py15.01.2021 · Log the message "Hello syslog server" with standard severity INFO as facility USER. 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.