Prepare logging to syslog