fix logging support to syslog and sentry