codeconsole commented on PR #15757:
URL: https://github.com/apache/grails-core/pull/15757#issuecomment-4948941955

   With the generated file's content fixes now merged separately via #15973, 
this PR is flipped back to its original scope (537614e383): newly generated 
applications ship **no** `logback-spring.xml` — Spring Boot's zero-config 
Logback defaults apply — and the visible **Logback Configuration** 
(`logback-config`) Forge feature generates the #15973-simplified starter file 
on demand for anyone who wants to manage logging in XML.
   
   Since the earlier discussion, the concerns raised then have been addressed 
in what's now the default-less setup:
   
   - Per-environment log *levels* work with zero XML via the `environments` 
block in `application.yml` (verified earlier in this thread on Grails 8 / 
Spring Boot 4, alongside `<springProfile>` which also still works).
   - The docs (logging reference + upgrade guide) spell out the zero-config 
defaults, `application.yml` tuning, when the XML file is still needed 
(env-specific appenders/routing), that a custom file replaces Boot's bundled 
configuration and must declare its own appenders, and the exact boundaries 
between the two modes.
   
   PR title/description updated back to match.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to