Skip to content

Enable logging by default [Go] #1297

@dingsdax

Description

@dingsdax

Update logs behavior to follow the same opt-in model as disableMetrics:

  • Users are considered opted-in when:
    • They call the equivalent of sentry.NewLogger, or
    • They explicitly enable a logging integration.
  • Change default: change the EnableLogs to DisableLogs option.
  • Audit all logging integrations to ensure:
    • No logs are emitted unless the integration is explicitly enabled.
  • Update documentation:
    • Explain new default behavior of DisableLogs.
    • Clarify requirement to explicitly enable logging integrations.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions