fix problem with incorrect log levels in syslog