I am able to get logback logging to work correctly on my development
environment (Windows) using Tomee 1.6.0.1; however, whenever I try to deploy
the webapp on my Tomee server on Linux, it never creates the "test.app.log"
file specified in the logback.xml configuration file inside of the
WEB-INF/classes directory of the webapp.

Using maven, I have included logback-classic-1.1.2 and logback-core-1.1.2 in
the WEB-INF/lib directory of the webapp.

I double check permissions for the directory to which I wish to write
(CATALINA_BASE/logs), but it is set to rw for all users so I doubt that is
the problem.

No matter what I try, all of my logs keep getting pushed to catalina.out.
Can anybody solve the mystery as to why logging with logback works correctly
on Windows (development environment) but not Linux?

I did a diff between Tomcat on my dev environment and Linux, and the only
changes present were classpath changes in the catalina.properties file. The
Linux version's classpath included all of the paths from the Windows
version, plus some.


Here is my link to the stackOverFlow  question.
<https://stackoverflow.com/questions/24944357/webapp-logback-logging-does-not-work-using-tomee-plus-1-6-0-on-linux>
  




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Webapp-Logback-Logging-Does-Not-Work-Using-Tomee-Plus-1-6-0-on-Linux-tp4671110.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to