fix production syslog bug