What project directory should logback.xml be in SBT/Scala project?

前端 未结 1 497
天命终不由人
天命终不由人 2021-01-05 00:36

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

1条回答
  •  渐次进展
    2021-01-05 00:42

    Put it under src/main/resources/logback.xml. It will be copied to the right location when SBT is doing the artifact assembly.

    0 讨论(0)
提交回复
热议问题