Python 2.4+ compatible syslog alert