Using logging instead of syslog module now