I have an SBT/Scala project and logback seems to work, but totally ignores my logback.xml
config file. I have placed at src/main/scala/logback.xml
. It doesn't do anything.
What is the correct location for it?
Can anybody post an example of an SBT/Scala skeleton project with a working logback.xml
file?
Put it under src/main/resources/logback.xml
. It will be copied to the right location when SBT is doing the artifact assembly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With