logback-spring.xml not getting picked up

Viewed 30

Spring boot picks up logback.xml from a dependency project instead of logback-spring.xml present in the classpath of my project. How to force spring boot to pick logback-spring.xml present at the classpath of my project instead of picking logback.xml from dependency project.

Project Structure

myProj src->main->resources logback-spring.xml

But there is a logback.xml in a dependency project. Spring boot tries to load that logback.xml

0 Answers
Related