I wanted to override the default log level sent to Sentry, so I decided to set logging=False and pass that into the wrapper. But I noticed that Sentry was still receiving INFO messages and when digging around the code I noticed this:
self.config.update(config_defaults)
It seems like it should be the other way around to work, config_defaults should be updated with self.config.
Right now I'm working around this by setting the environment variable SENTRY_CAPTURE_LOGS to an empty string since that's falsy in Python, but I see there's another PR that would let me pass in false instead. :)
I wanted to override the default log level sent to Sentry, so I decided to set
logging=False
and pass that into the wrapper. But I noticed that Sentry was still receiving INFO messages and when digging around the code I noticed this:It seems like it should be the other way around to work,
config_defaults
should be updated withself.config
.Right now I'm working around this by setting the environment variable
SENTRY_CAPTURE_LOGS
to an empty string since that's falsy in Python, but I see there's another PR that would let me pass in false instead. :)