Issue
I am currently using the Python SDK. I am also using a console logger separately. When I send a message to this console logger, Sentry is picking it up as well. How do I disable this feature?
I only want it to send an event if I explicitly use capture_message/capture_exception or if an exception is thrown.
Applies To
- User using the Python SDK
Resolution
Console logs are captured by the Python SDK's Logging Integration. This integration is enabled by default.
If you want to prevent the Python SDK from picking up console logs, you will need to disable the logging integration. Please see here on how to disable the integration.