Skip to content

Should openapi-diff-core.jar be including logback.xml? #638

@Blackbaud-JasonBodnar

Description

@Blackbaud-JasonBodnar

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.

If I change our build.gradle from:

implementation "org.openapitools.openapidiff:openapi-diff-core:2.1.0-beta.8"

to:

compileOnly "org.openapitools.openapidiff:openapi-diff-core:2.1.0-beta.8"

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions