Added syslogging

Added syslogging