Removed unnecessary logToSyslog()