I'm a bit confused about using Logback in my current app and would like your input.
I'm using logback-classic 1.0.6 in a Lift 2.5-RC5 application which runs in production on a Tomcat 7.0.26 server on Ubuntu 12.04.
Until yesterday I put a "production.default.logback.xml" as well as a "default.logback.xml" file inside src/main/resources/props - and that worked fine.
I didn't see any logback-specific messages in catalina.out (like which file was parsed, which appenders instantiated, etc), but the files were there and logging worked.
Then yesterday or the day before that it suddenly stopped and I can't seem to figure out why. So, in production the log files are simply not created. In development mode it works fine, and when I run locally with production mode it also works fine.
The thing that helped was putting a "logback.xml" file into src/main/resources (not props). That thing is parsed (I see Logback specific messages in the console or catalina.out) and logfiles are created and function properly.
However I have no idea why the Lift specific naming scheme did stop working on the production machine.
Did anyone else encounter a similar thing before?
Thanks,
Torsten.