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.
精彩评论