feat(loguru): Make Logs the primary feature - #7255
Open
sentrivana wants to merge 3 commits into
Open
Conversation
sentrivana
marked this pull request as ready for review
August 26, 2026 11:32
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d8739b3. Configure here.
Contributor
Codecov Results 📊✅ 110495 passed | ⏭️ 5428 skipped | Total: 115923 | Pass Rate: 95.32% | Execution Time: 384m 12s 📊 Comparison with Base Branch
➖ Removed Tests (2)View removed tests
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2268 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 90.22% 90.51% +0.29%
==========================================
Files 193 185 -8
Lines 25435 23904 -1531
Branches 9346 8806 -540
==========================================
+ Hits 22947 21636 -1311
- Misses 2488 2268 -220
- Partials 1434 1378 -56Generated by Codecov Action |
ericapisani
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Get the Loguru integration into shape now that Sentry Logs is a first-class feature. The idea is to make Logs the primary feature the integration offers, with capturing events an optional add-on.
High-level overview of the changes:
level(before:sentry_logs_level) now sets the Sentry logs level.level->breadcrumb_level).capture_sentry_logsoption is gone completely. Since logs instrumentation is now on by default, and theleveloption exists, it was superfluous. Capturing logs can still be opted out of by settinglevel=None.Issues
Closes #7247
Closes https://linear.app/getsentry/issue/PY-2740/update-loguru-integration