Rename logback.xml to logback-spring.xml
MSALSpring Boot only processes Spring-specific logback extensions (<springProfile>, <springProperty>) when the configuration file is named logback-spring.xml. A plain logback.xml is loaded too early by logback itself, before Spring's Environment is ready, so these extensions are silently ignored. This recipe renames logback.xml to logback-spring.xml when Spring extensions are detected.
org. openrewrite. java. spring. boot3. RenameLogbackToLogbackSpringmod run . --recipe= org. openrewrite. java. spring. boot3. RenameLogbackToLogbackSpringInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.