Skip to content

Fix Logback with Spring Boot #4523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 26, 2025
Merged

Fix Logback with Spring Boot #4523

merged 4 commits into from
Jun 26, 2025

Conversation

adinauer
Copy link
Member

📜 Description

Use ScopesAdapter.getInstance().getOptions() instead of this.options as Spring Boot config does not affect the instances options.

💡 Motivation and Context

Fixes #4521

💚 How did you test it?

📝 Checklist

  • 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

Copy link
Contributor

github-actions bot commented Jun 26, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 1c71429

Copy link
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 442.28 ms 513.24 ms 70.96 ms
Size 1.58 MiB 2.09 MiB 519.08 KiB

@adinauer adinauer merged commit e044332 into main Jun 26, 2025
34 checks passed
@adinauer adinauer deleted the feat/fix-spring-boot-logback branch June 26, 2025 08:46
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.

Sentry Logback with Spring Boot does not pickup configuration from Spring
3 participants