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 `true`. * Audit all logging integrations to ensure: * No logs are emitted unless the integration is explicitly enabled. * Update documentation: * Explain new default behavior of `enableLogs`. * Clarify requirement to explicitly enable logging integrations.
Activity
linear-code commentedon May 4, 2026
JS-2341
JPeer264 commentedon May 4, 2026
This one has more info. So I will close our already open ticket: #20173
enableLogsdefault value totrue#20173 as a duplicate of this issueenableLogsdefault value totrue#20173 as a duplicate of this issuefeat(core)!: Enable logs by default
feat(core)!: Enable logs by default
feat(core)!: Enable logs by default (#22630)