Title: Enable logging by default [Java] · Issue #5364 · getsentry/sentry-java · GitHub
Open Graph Title: Enable logging by default [Java] · Issue #5364 · getsentry/sentry-java
X Title: Enable logging by default [Java] · Issue #5364 · getsentry/sentry-java
Description: Update logs behavior to follow the same opt-in model as enableMetrics: Users are considered opted-in when: They call the equivalent of Sentry.logger.*, or They explicitly enable a logging integration. Change default: set enable logs to t...
Open Graph Description: Update logs behavior to follow the same opt-in model as enableMetrics: Users are considered opted-in when: They call the equivalent of Sentry.logger.*, or They explicitly enable a logging integrati...
X Description: Update logs behavior to follow the same opt-in model as enableMetrics: Users are considered opted-in when: They call the equivalent of Sentry.logger.*, or They explicitly enable a logging integrati...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/5364
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable logging by default [Java]","articleBody":"Update logs behavior to follow the same opt-in model as `enableMetrics`:\n\n* Users are considered opted-in when:\n * They call the equivalent of `Sentry.logger.*`, or\n * They explicitly enable a logging integration.\n* Change default: set enable logs to `true`.\n* Audit all logging integrations to ensure:\n * No logs are emitted unless the integration is explicitly enabled.\n* Update documentation:\n * Explain new default behavior of `enableLogs`.\n * Clarify requirement to explicitly enable logging integrations.","author":{"url":"https://github.com/dingsdax","@type":"Person","name":"dingsdax"},"datePublished":"2026-05-04T10:49:04Z","url":"https://github.com/getsentry/sentry-java/issues/5364"}
| 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:8dcb75e3-d3f5-b6a1-d24a-a472d691d803 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C6BE:2E8AC8:184EE2:2215F6:6B04708C |
| html-safe-nonce | e4468ce16181a7ecd20fc1595bfdd0f16da1c0f0f32d930e16324ac7d4ca9d44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkJFOjJFOEFDODoxODRFRTI6MjIxNUY2OjZCMDQ3MDhDIiwidmlzaXRvcl9pZCI6Ijg5MTQ0MzQzNTM4NTQxODE1MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d17e639a36ded615984e8c5426a18cd6da1060cec2e99794715abbe7d12abcd2 |
| hovercard-subject-tag | issue:4375905473 |
| 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/5364/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c030d615b5f383344de14935b9d909c28d2422f555c6704a8e1d99f102a02cf9/getsentry/sentry-java/issues/5364 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c030d615b5f383344de14935b9d909c28d2422f555c6704a8e1d99f102a02cf9/getsentry/sentry-java/issues/5364 |
| og:image:alt | Update logs behavior to follow the same opt-in model as enableMetrics: Users are considered opted-in when: They call the equivalent of Sentry.logger.*, or They explicitly enable a logging integrati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dingsdax |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| 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 | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| 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