Adds support for logging via syslog.