Cleanup and stop using syslog and use logging