You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 872937c
Browse filesBrowse the repository at this point in the historyBrowse files
Clarify that the Logs and Metrics enable options will be removed in the next major release and that logging integrations will receive individual opt-in flags.
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@
9
9
10
10
### Fixes
11
11
12
-
- Capture direct `Sentry.logger()` and `Sentry.metrics()` calls regardless of the legacy enable flags ([#6184](https://github.com/getsentry/sentry-java/pull/6184))
13
-
- The flags continue to control automatic integrations.
12
+
- Capture direct `Sentry.logger()` and `Sentry.metrics()` calls regardless of `options.getLogs().isEnabled()` and `options.getMetrics().isEnabled()` ([#6184](https://github.com/getsentry/sentry-java/pull/6184))
13
+
- `options.getLogs().setEnabled(...)` and `options.getMetrics().setEnabled(...)` continue to control automatic integrations, but will be removed in the upcoming major release. Each logging integration will then have a separate opt-in flag.
14
14
- Use `options.getLogs().setBeforeSend(...)` and `options.getMetrics().setBeforeSend(...)` to filter manually emitted telemetry. Return `null` from either callback to drop it.
0 commit comments