codeconsole opened a new pull request, #15973: URL: https://github.com/apache/grails-core/pull/15973
## Summary The starter `grails-app/conf/logback-spring.xml` generated for new applications sets the root logger to `ERROR`, which suppresses the WARN and INFO output — including framework startup warnings — that Spring Boot shows by default. This PR raises the root level to `INFO` and composes Spring Boot's own `defaults.xml` and `console-appender.xml` instead of duplicating the console appender, so the generated configuration matches Spring Boot's defaults. Jansi remains unused; Spring Boot's `%clr` converter supplies console colors (see #15663). The change is applied to both generation paths so `create-app` and start.grails.org produce the same file: - **Profile CLI**: `grails-profiles/base/skeleton/grails-app/conf/logback-spring.xml` (also fixes the commented development logger example to use the `@grails.codegen.defaultPackage@` placeholder instead of a hardcoded package name) - **Grails Forge**: `grails-forge-core` `logback.rocker.raw` template, with `LogbackSpec` updated to assert the new content This is the logback-spring.xml portion of #15757, extracted into its own PR. The opt-in zero-config Forge feature and documentation changes remain in #15757. ## Testing - Full `grails-forge-core` test suite passes, including the updated `LogbackSpec` assertions (Spring Boot includes present, `INFO` root level, development `springProfile`, no Jansi) across all application types. -- 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]
