setup sentry logging level
fix a bug