Skip to content

Enable logging by default [Javascript] #20639

Closed

Description

@dingsdax

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

  1. linear-code commented on May 4, 2026

    @linear-code
  2. JPeer264 commented on May 4, 2026

    @JPeer264
    Member

    This one has more info. So I will close our already open ticket: #20173

  3. self-assigned this
    on Jul 23, 2026
  4. added 3 commits that reference this issue on Jul 24, 2026
    ad22d38
    a254d69
    c7600d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions