feat(logging): Make Logs the primary feature - #7248
Merged
Merged
Conversation
Contributor
Codecov Results 📊✅ 110268 passed | ⏭️ 5428 skipped | Total: 115696 | Pass Rate: 95.31% | Execution Time: 381m 5s 📊 Comparison with Base Branch
➖ Removed Tests (2)View removed tests
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2267 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 90.22% 90.52% +0.3%
==========================================
Files 193 185 -8
Lines 25435 23906 -1529
Branches 9346 8806 -540
==========================================
+ Hits 22947 21639 -1308
- Misses 2488 2267 -221
- Partials 1434 1376 -58Generated by Codecov Action |
sentrivana
marked this pull request as ready for review
August 26, 2026 09:29
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 e79e158. Configure here.
LoggingIntegration
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 logging 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),ignore_logger(before:ignore_logger_for_sentry_logs) now set the Sentry logs level and Sentry logs denylist, respectively.level->breadcrumb_level,ignore_logger->ignore_logger_for_events).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.Collateral:
Issues
Closes #7246
Closes https://linear.app/getsentry/issue/PY-2739/update-logging-integration