scala-logging icon indicating copy to clipboard operation
scala-logging copied to clipboard

Running from fat jar doesn't load xml file

Open asafl opened this issue 5 years ago • 0 comments

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!

asafl avatar Mar 20 '19 15:03 asafl