Closed michaelvision closed 1 year ago
The final jar incldues the logback config file: logback.xml
This should be avoided as described here: https://mkyong.com/maven/maven-exclude-logback-xml-in-jar-file/
Any spring boot project which uses logback will have their config overwritten. Everything is logged at TRACE level to the Console.
Using maven the resource can simply be excluded from the final jar, the same should be possible in the build.gradle file.
Description
The final jar incldues the logback config file: logback.xml
This should be avoided as described here: https://mkyong.com/maven/maven-exclude-logback-xml-in-jar-file/
Steps to reproduce
Any spring boot project which uses logback will have their config overwritten. Everything is logged at TRACE level to the Console.
Fix
Using maven the resource can simply be excluded from the final jar, the same should be possible in the build.gradle file.