Title: [Java 9.x] Replace global Logs/Metrics flags with opt-ins · Issue #6213 · getsentry/sentry-java · GitHub
Open Graph Title: [Java 9.x] Replace global Logs/Metrics flags with opt-ins · Issue #6213 · getsentry/sentry-java
X Title: [Java 9.x] Replace global Logs/Metrics flags with opt-ins · Issue #6213 · getsentry/sentry-java
Description: For the 9.x major, remove the global enableLogs / enableMetrics options and replace automatic log collection gating with integration-local opt-ins (Logback, Log4j2, JUL, Spring Boot, Android Timber/Logcat), disabled by default. Open PR s...
Open Graph Description: For the 9.x major, remove the global enableLogs / enableMetrics options and replace automatic log collection gating with integration-local opt-ins (Logback, Log4j2, JUL, Spring Boot, Android Timber...
X Description: For the 9.x major, remove the global enableLogs / enableMetrics options and replace automatic log collection gating with integration-local opt-ins (Logback, Log4j2, JUL, Spring Boot, Android Timber...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/6213
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Java 9.x] Replace global Logs/Metrics flags with opt-ins","articleBody":"For the 9.x major, remove the global `enableLogs` / `enableMetrics` options and replace automatic log collection gating with integration-local opt-ins (Logback, Log4j2, JUL, Spring Boot, Android Timber/Logcat), disabled by default.\n\nOpen PR stack, targeting `9.x.x` (collection PR [#5939](\u003chttps://github.com/getsentry/sentry-java/pull/5939>), squash-merged once the stack lands):\n\n 1. getsentry/sentry-java#5940 Logback Logs opt-in\n 2. getsentry/sentry-java#5941 Log4j2 Logs opt-in\n 3. getsentry/sentry-java#5942 JUL Logs opt-in\n 4. getsentry/sentry-java#5943 Android Timber Logs opt-in\n 5. getsentry/sentry-java#5945 Android Logcat Logs opt-in\n 6. getsentry/sentry-java#5946 Spring Boot logging Logs opt-in\n 7. getsentry/sentry-java#5947 Remove Logs enable flag\n 8. getsentry/sentry-java#5952 Avoid unused Logs worker thread\n 9. getsentry/sentry-java#5953 Remove Metrics enable flag\n10. getsentry/sentry-java#5957 Avoid unused Metrics worker thread\n11. getsentry/sentry-java#5960 JUL: preserve null-message records\n12. getsentry/sentry-java#5961 Update options guidance\n13. getsentry/sentry-java#5964 Android: read Timber option lazily\n14. getsentry/sentry-java#5970 Rename Logs opt-ins\n\nRelated: getsentry/sentry-java#5364 / [#5364](\u003chttps://github.com/getsentry/sentry-java/issues/5364>), Android [#5363](\u003chttps://github.com/getsentry/sentry-java/issues/5363>).\n\nAction taken on behalf of Alexander Dinauer.","author":{"url":"https://github.com/apps/linear-code","@type":"Person","name":"linear-code"},"datePublished":"2026-10-02T12:56:32Z","url":"https://github.com/getsentry/sentry-java/issues/6213"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a9acff7e-10e8-705d-57ab-c0ed36e89cad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8456:39D550:2612A5:35D9D4:6B04695D |
| html-safe-nonce | 4c718387baf65c4627f07f98716268d5bec41aa57d8e907d7159dda2633d085e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDU2OjM5RDU1MDoyNjEyQTU6MzVEOUQ0OjZCMDQ2OTVEIiwidmlzaXRvcl9pZCI6IjMwODU3Mjk5NjcyNTUwODc0NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e83b699df6c53f19bfa92ce14f11a64e139e53d1b517525b59f80817fe1fb832 |
| hovercard-subject-tag | issue:5677716357 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/6213/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e12f2a32671a8e5ab7365d732c670802c3af8a32d13995969dd05c4c69f36be/getsentry/sentry-java/issues/6213 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e12f2a32671a8e5ab7365d732c670802c3af8a32d13995969dd05c4c69f36be/getsentry/sentry-java/issues/6213 |
| og:image:alt | For the 9.x major, remove the global enableLogs / enableMetrics options and replace automatic log collection gating with integration-local opt-ins (Logback, Log4j2, JUL, Spring Boot, Android Timber... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | linear-code[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width