I have 2 Spring Boot (1.4.1-RELEASE) console applications using Logback. Both configuration files are more or less identical, are located in my /src/main/resources
I faced the same issue and tried finding if any of logback.xml
or logback-grrovy.xml
etc. already in claspath
, but was not able to find any
Then I tried some changes:
Changed name from logback.xml to logback-spring.xml
Removed following dependency from pom.xml Instead of
org.springframework.boot
spring-boot-starter
org.springframework.boot
spring-boot-starter-logging
org.slf4j
slf4j-api
1.7.13
I tried this
org.springframework.boot
spring-boot-starter
org.slf4j
jcl-over-slf4j