Skip to content

feat(v10/core)!: Enable logs by default - #23311

Open
nicohrubec wants to merge 1 commit into
v10from
feat/v10-enable-logs-by-default
Open

feat(v10/core)!: Enable logs by default#23311
nicohrubec wants to merge 1 commit into
v10from
feat/v10-enable-logs-by-default

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Aug 11, 2026

Copy link
Copy Markdown
Member

Backport of: #22630

Flips the enableLogs client option to default to true so users get logs without opting in, matching how enableMetrics already behaves. An explicit enableLogs: false turns it back off. Unless a logging integration is added or an explicit logging API is called no logs are emitted.

Main difference to the original PR is that on v10 node and node-core are still separate packages so we need a few changes in both. Also added a changelog entry since this is a behavioral change.

Note e2e failures are during the build so seems unrelated. Docs also need updating.

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.75 kB added added
@sentry/browser - with treeshaking flags 26.19 kB added added
@sentry/browser (incl. Tracing) 46.59 kB added added
@sentry/browser (incl. Tracing + Span Streaming) 48.38 kB added added
@sentry/browser (incl. Tracing, Profiling) 51.34 kB added added
@sentry/browser (incl. Tracing, Replay) 85.83 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.47 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 90.55 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 103.2 kB added added
@sentry/browser (incl. Feedback) 44.92 kB added added
@sentry/browser (incl. sendFeedback) 32.54 kB added added
@sentry/browser (incl. FeedbackAsync) 37.68 kB added added
@sentry/browser (incl. Metrics) 28.83 kB added added
@sentry/browser (incl. Logs) 29.06 kB added added
@sentry/browser (incl. Metrics & Logs) 29.75 kB added added
@sentry/react 29.56 kB added added
@sentry/react (incl. Tracing) 48.85 kB added added
@sentry/vue 33.17 kB added added
@sentry/vue (incl. Tracing) 48.55 kB added added
@sentry/svelte 27.77 kB added added
CDN Bundle 30.14 kB added added
CDN Bundle (incl. Tracing) 48.56 kB added added
CDN Bundle (incl. Logs, Metrics) 31.72 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) 49.86 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) 70.99 kB added added
CDN Bundle (incl. Tracing, Replay) 86.05 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.36 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 91.86 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 93.13 kB added added
CDN Bundle - uncompressed 89.87 kB added added
CDN Bundle (incl. Tracing) - uncompressed 146.75 kB added added
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.58 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.72 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.34 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.98 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.95 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.69 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 283.64 kB added added
@sentry/nextjs (client) 51.4 kB added added
@sentry/sveltekit (client) 47.01 kB added added
@sentry/core/server 80.55 kB added added
@sentry/core/browser 66.77 kB added added
@sentry/node-core 63.24 kB added added
@sentry/node 125.88 kB added added
@sentry/node (incl. diagnostics channel injection) 151.32 kB added added
@sentry/node/import (ESM hook with diagnostics-channel injection) 70.03 kB added added
@sentry/node/light 51.41 kB added added
@sentry/node - without tracing 74.94 kB added added
@sentry/aws-serverless 84.2 kB added added
@sentry/cloudflare (withSentry) - minified 202 kB added added
@sentry/cloudflare (withSentry) 496.63 kB added added

@nicohrubec
nicohrubec force-pushed the feat/v10-enable-logs-by-default branch from eba4cdb to 68b7ff1 Compare August 11, 2026 19:10
@nicohrubec
nicohrubec force-pushed the feat/v10-enable-logs-by-default branch from 68b7ff1 to c282a54 Compare August 11, 2026 19:14
@nicohrubec
nicohrubec marked this pull request as ready for review August 11, 2026 19:30
@nicohrubec
nicohrubec requested review from a team as code owners August 11, 2026 19:30
@nicohrubec
nicohrubec requested review from JPeer264, Lms24, andreiborza, chargome, logaretm, mydea and s1gr1d and removed request for a team August 11, 2026 19:30
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.

2 participants