fix syslog logging