Skip to content

Sentry doesn't support loguru level=trace #2759

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

Closed
WesleyYue opened this issue Feb 24, 2024 · 3 comments · Fixed by #4147
Closed

Sentry doesn't support loguru level=trace #2759

WesleyYue opened this issue Feb 24, 2024 · 3 comments · Fixed by #4147
Assignees

Comments

@WesleyYue
Copy link

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

image

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 2 Feb 24, 2024
@sentrivana
Copy link
Contributor

Thanks @WesleyYue, this might need to be adjusted on the server side. We'll take a look.

@sentrivana
Copy link
Contributor

See also: #2799 (comment)

@andyshinn
Copy link

Also level SUCCESS throws similar warning.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jul 1, 2024
@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 Jul 2, 2024
@szokeasaurusrex szokeasaurusrex added the Triaged Has been looked at recently during old issue triage label Nov 4, 2024
@antonpirker antonpirker self-assigned this Mar 17, 2025
@antonpirker antonpirker removed the Triaged Has been looked at recently during old issue triage label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants