Skip to content

Conversation

@adinauer
Copy link
Member

@adinauer adinauer commented Feb 5, 2026

📜 Description

No longer log a warning if a logging integration cannot initialize Sentry due to missing DSN.

💡 Motivation and Context

Fixes #4531

This warning is causing lots of confusion, especially for customers, who have the logging integration auto installed by one of the build plugins.

💚 How did you test it?

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (distribution) Add installGroupsOverride parameter by runningcode in #5066
  • (replay) Track custom masking usage via integration by markushi in #5070

Bug Fixes 🐛

  • (android) Merge tombstone and Native SDK event message. by supervacuus in #5095

Internal Changes 🔧

Deps

  • Bump getsentry/craft from 2.20.1 to 2.21.2 by dependabot in #5083
  • Bump github/codeql-action from 4.32.0 to 4.32.2 by dependabot in #5082
  • Update Native SDK to v0.12.6 by github-actions in #5071

Other

  • No longer log a warning if a logging integration cannot initialize Sentry due to missing DSN. by adinauer in #5075
  • Fix thread leak caused by eager creation of SentryExecutorService in SentryOptions by adinauer in #5093

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 350.32 ms 408.80 ms 58.48 ms
Size 1.58 MiB 2.28 MiB 716.09 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
fcec2f2 357.47 ms 447.32 ms 89.85 ms
ee747ae 374.71 ms 455.18 ms 80.47 ms
1564554 323.06 ms 336.68 ms 13.62 ms
27d7cf8 369.82 ms 422.62 ms 52.80 ms
fcec2f2 314.96 ms 373.66 ms 58.70 ms
951caf7 323.66 ms 392.82 ms 69.16 ms
abf451a 332.82 ms 403.67 ms 70.85 ms
674d437 355.28 ms 504.18 ms 148.90 ms
ee747ae 554.98 ms 611.50 ms 56.52 ms
2387c2c 317.04 ms 354.60 ms 37.56 ms

App size

Revision Plain With Sentry Diff
fcec2f2 1.58 MiB 2.12 MiB 551.50 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
1564554 1.58 MiB 2.20 MiB 635.33 KiB
27d7cf8 1.58 MiB 2.12 MiB 549.42 KiB
fcec2f2 1.58 MiB 2.12 MiB 551.50 KiB
951caf7 1.58 MiB 2.13 MiB 558.77 KiB
abf451a 1.58 MiB 2.20 MiB 635.29 KiB
674d437 1.58 MiB 2.10 MiB 530.94 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
2387c2c 1.58 MiB 2.13 MiB 559.54 KiB

Previous results on branch: fix/silence-init-failed-warning-for-logger-integrations

Startup times

Revision Plain With Sentry Diff
6d28cc8 308.92 ms 342.29 ms 33.37 ms

App size

Revision Plain With Sentry Diff
6d28cc8 1.58 MiB 2.19 MiB 619.17 KiB

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.

Failed to init Sentry during appender initialization: DSN is required

2 participants