added console.log when sending log to syslog (request from federico)