Add check for the syslog function