replace logging with syslog