Correct logging with syslog