sentry-python
sentry-python copied to clipboard
Sentry doesn't support loguru level=trace
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.40.5
Steps to Reproduce
sentry_loguru = LoguruIntegration(
level=LoggingLevels.TRACE.value, # Capture info and above as breadcrumbs
event_level=LoggingLevels.ERROR.value, # Send errors as events
)
sentry_sdk.init(
dsn="xxx",
integrations=[
sentry_loguru,
],
)
Expected Result
SDK to report my .trace() logs like the other levels
Actual Result
Thanks @WesleyYue, this might need to be adjusted on the server side. We'll take a look.
See also: https://github.com/getsentry/sentry-python/issues/2799#issue-2178956427
Also level SUCCESS throws similar warning.