Skip to content

Allow configuration of Sentry Logs for Spring Boot Logback #4508

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 19 commits into from
Jun 25, 2025

Conversation

adinauer
Copy link
Member

@adinauer adinauer commented Jun 23, 2025

#skip-changelog

📜 Description

Allow configuration of Sentry Logs for Spring Boot Logback:

e.g. in application.properties:

sentry.logging.minimum-level=error

💡 Motivation and Context

Easier config for customers using Logback and Spring Boot

💚 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 23, 2025

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

Generated by 🚫 dangerJS against a69d5ad

Copy link
Contributor

github-actions bot commented Jun 23, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 403.26 ms 447.46 ms 44.20 ms
Size 1.58 MiB 2.09 MiB 519.08 KiB

Previous results on branch: feat/logback-spring-boot

Startup times

Revision Plain With Sentry Diff
f70ead2 407.35 ms 439.67 ms 32.31 ms
a301ac4 394.94 ms 421.06 ms 26.12 ms

App size

Revision Plain With Sentry Diff
f70ead2 1.58 MiB 2.09 MiB 518.84 KiB
a301ac4 1.58 MiB 2.09 MiB 518.84 KiB

Copy link
Member

@lcian lcian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, LGTM

Base automatically changed from feat/logs-flush to main June 25, 2025 06:46
@adinauer adinauer merged commit 8489642 into main Jun 25, 2025
35 checks passed
@adinauer adinauer deleted the feat/logback-spring-boot branch June 25, 2025 07:24
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