lua syslog implementation