scala-logging
scala-logging copied to clipboard
Running from fat jar doesn't load xml file
Hi,
I'm not sure this is the right place to ask, but I've waisted a day's work on this already, so...
Everything works fine with logback.xml located in the /src/main/resources, when executing unpackaged code (from inside Intelli-J). But stops working when running via a fat jar created using sbt-assemly. The XML file doesn't seem to be read. I've tried using the -Dlogback.configurationFile flag in any way I could think of, but nothing works.
Any ideas would be welcome!