Sentry allows to also collect log messages, see https://docs.sentry.io/platforms/python/logs/
For that to work sentry_sdk.init() needs another parameter: enable_logs=True.
Given that plenty of configuration is done via environment variables, a new SENTRY_ENABLE_LOGS defaulting to False could be the way to go.
Opinions?
Sentry allows to also collect log messages, see https://docs.sentry.io/platforms/python/logs/
For that to work
sentry_sdk.init()needs another parameter:enable_logs=True.Given that plenty of configuration is done via environment variables, a new
SENTRY_ENABLE_LOGSdefaulting toFalsecould be the way to go.Opinions?