Adding logging support to heartbeat via syslog.