added logging with syslog

syslog logging