Document Spring Boot structured logging#15997
Open
jamesfredley wants to merge 3 commits into
Open
Conversation
Assisted-by: opencode:gpt-5.6-sol
Contributor
There was a problem hiding this comment.
Pull request overview
Adds documentation to the Grails logging guide describing how to opt-in to Spring Boot 4.1 structured logging, including format selection, JSON customization knobs, MDC/SLF4J key-values, and tracing/baggage correlation boundaries.
Changes:
- Document Spring Boot structured logging formats for console/file (
ecs,gelf,logstash) and related configuration keys. - Provide example configuration for JSON include/exclude/rename/add and stacktrace controls.
- Add a short code example showing MDC + SLF4J fluent key-values, plus tracing/baggage correlation notes.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.0.x #15997 +/- ##
================================================
+ Coverage 0 51.1106% +51.1106%
- Complexity 0 17596 +17596
================================================
Files 0 2041 +2041
Lines 0 95493 +95493
Branches 0 16587 +16587
================================================
+ Hits 0 48807 +48807
- Misses 0 39399 +39399
- Partials 0 7287 +7287 🚀 New features to boost your workflow:
|
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
davydotcom
approved these changes
Jul 17, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
✅ All tests passed ✅🏷️ Commit: e2ee974 Learn more about TestLens at testlens.app. |
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.
Summary
Verification
This is an AI-generated starting point for documenting structured logging.