Adding logging using syslog