[LOGMGR-104] Use better encoding methods for the syslog handler.