Not sure if this is a bug or something we're doing wrong. But after upgrading to spring boot 3 our application no longer uses our logback-spring.xml. Stepping through the spring boot code that initializes logging I see that it's finding a logback.xml and the only one I found in the classpath resources is from openapi-diff-core.jar.
@Blackbaud-JasonBodnar Thanks for reporting this! You're absolutely correct and the Logback configuration shouldn't have been a part of the openapi-diff-core artifact.
Not sure if this is a bug or something we're doing wrong. But after upgrading to spring boot 3 our application no longer uses our
logback-spring.xml
. Stepping through the spring boot code that initializes logging I see that it's finding alogback.xml
and the only one I found in the classpath resources is fromopenapi-diff-core.jar
.If I change our
build.gradle
from:to:
Our
logback-spring.xml
is picked up and used. Of course, our app no longer runs :-(So, should the jar file include
logback.xml
? Or are we doing something wrong?