Skip to content

Enable logging by default [.NET] #5183

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. added
    .NETPull requests that update .net code
    Breaking ChangeBinary/Source/Behavioral Breaking Changes.
    on May 4, 2026
  3. bitsandfoxes commented on May 6, 2026

    @bitsandfoxes
    Contributor

    As per #5189 (comment), this comes as part of the next mayor at the end of the year.

  4. added
    Next MajorChanges scheduled for the next Major release.
    and removed on May 20, 2026
  5. self-assigned this
    on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

.NETPull requests that update .net codeBreaking ChangeBinary/Source/Behavioral Breaking Changes.LogsNext MajorChanges scheduled for the next Major release.State: Needs DiscussionTask

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions