moving syslog to logging