Added hooks.h as header to syslogger.c