Add setting to disable Sentry logger.