Skip to content

One enable_logs option in init() and override config in Integrations #4153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
antonpirker opened this issue Mar 18, 2025 · 1 comment
Open

Comments

@antonpirker
Copy link
Member

The logs feature can be enabled/disabled by one enable_logs option to sentry_sdk.init().

The logging integrations (LoggingIntegration, LoguruIntegration) should have an config option to disable Sentry logs for one integration, even if enable_logs=True in init().

@antonpirker antonpirker changed the title One enable_logs option in init() and override config in Integrations. One enable_logs option in init() and override config in Integrations Mar 18, 2025
@colin-sentry
Copy link
Member

Isn't this already possible by setting the sentry_logs_level=None on the integration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants