remote_syslog.py - A module to send syslog messaged directly over UDP

Python syslog client.

This code is placed in the public domain by the author. Written by Christian Stigen Larsen.

This is especially neat for Windows users, who (I think) don't get any syslog module in the default python installation.

See RFC3164 for more info -- http://tools.ietf.org/html/rfc3164

Note that if you intend to send messages to remote servers, their syslogd must be started with -r to allow to receive UDP from the network.

remote_syslog.syslog(message, level=5, facility=3, host='localhost', port=514)[source]

Send syslog UDP packet to given host and port.

Previous topic

logviewer.py - Session Log Viewer

Next topic

sso.py - A Tornado Kerberos Single Sign-On Module

This Page