docs(js): make logs enabled by default, drop required enableLogs flag - #19080
Open
nicohrubec wants to merge 1 commit into
Open
docs(js): make logs enabled by default, drop required enableLogs flag#19080nicohrubec wants to merge 1 commit into
nicohrubec wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
nicohrubec
force-pushed
the
nh/enable-logs-default-true-js
branch
2 times, most recently
from
August 24, 2026 15:37
442bc4d to
c883425
Compare
JavaScript SDK logs will be on by default from v10.71.0, so users no longer need to set enableLogs: true. Remove the flag from JS setup snippets, onboarding config blocks, and integration docs, and drop the now no-op "logs" onboarding toggle from JS pages (kept for Effect, whose block still wires up SentryEffectLogger). Dedicated logs-setup and logging-integration pages gain a version alert noting that on SDK versions below 10.71.0 enableLogs: true is still required. The enableLogs option default is updated to true. Note: 10.71.0 is a placeholder pending the final default-on version. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
nicohrubec
force-pushed
the
nh/enable-logs-default-true-js
branch
from
August 24, 2026 15:51
c883425 to
d244219
Compare
nicohrubec
marked this pull request as ready for review
August 24, 2026 15:52
chargome
approved these changes
Aug 24, 2026
Comment on lines
+759
to
+761
| <Alert> | ||
| On SDK versions below `10.71.0`, logs are opt-in. Set `enableLogs: true` in your `Sentry.init` to send them. | ||
| </Alert> |
Member
There was a problem hiding this comment.
l: would have moved that into an for not duplicating it so often but non blocking.
nicohrubec
added a commit
to getsentry/sentry
that referenced
this pull request
Aug 26, 2026
Logs are enabled by default as of JS SDK `10.71.0`, so the in-product onboardings should no longer set `enableLogs: true`. This mirrors the docs change in getsentry/sentry-docs#19080. Also noticed that the `tanstackstart-react` setup was missing next-steps and verify sections for logs/metrics so added these.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
10.71.0changed theenableLogsdefault in the JS SDK to true. This updates the docs accordingly.This PR already also includes the changes for the electron SDK where this is not yet released yet, so we'll need to wait for that (or potentially separate this into its own PR depending on the timeline there).