10.10. syslog
import syslog syslog.syslog('Processing started') if error: syslog.syslog(syslog.LOG_ERR, 'Processing started') syslog.openlog(logopt=syslog.LOG_PID, facility=syslog.LOG_MAIL) syslog.syslog('E-mail processing initiated...') 10.10.1.udp client #!/usr/bin/python # -*- encoding: iso-8859-1 -*- """ 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 th...