Skip to content

docs(go): Update logs option from EnableLogs to DisableLogs#18409

Open
giortzisg wants to merge 1 commit into
masterfrom
giortzisg/fix/go-logs-enabled-by-default
Open

docs(go): Update logs option from EnableLogs to DisableLogs#18409
giortzisg wants to merge 1 commit into
masterfrom
giortzisg/fix/go-logs-enabled-by-default

Conversation

@giortzisg

@giortzisg giortzisg commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Logs are now enabled by default in sentry-go (getsentry/sentry-go#1306). The EnableLogs option has been replaced with DisableLogs for opt-out.

Changes

  • Replaced all EnableLogs: true references with updated guidance that logs are enabled by default
  • Updated SdkOption in configuration docs from EnableLogs to DisableLogs
  • Updated setup docs, usage examples, and integration docs (logrus, zap, zerolog, slog)
  • Updated getting-started config snippets

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.)
  • Other deadline
  • None: Not urgent, can wait up to 1 week+

Logs are now enabled by default in sentry-go (getsentry/sentry-go#1306).
The EnableLogs option has been replaced with DisableLogs for opt-out.

Update all Go docs and platform-includes to reflect:
- Remove EnableLogs: true from all code examples
- Document DisableLogs as the new option in configuration
- Update setup docs to note logs are enabled by default

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jun 15, 2026 2:57pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jun 15, 2026 2:57pm

Request Review

@giortzisg giortzisg requested review from a team, Litarnus and sl0thentr0py June 15, 2026 14:46
@giortzisg giortzisg marked this pull request as ready for review June 15, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant