Hi there,
I recently upgraded to Tomcat 5.5 (before I was running 4.1.x). Now my logging is broken.
During startup Tomcat writes to the default server logs that the files I've setup in log4j.xml could not be found.
I'm using Springs Log4jConfigListener with the env-variable ${webapp.root} for logfiles relative to my application.
I think now Tomcat 5.5 searches a Log4J config file and find my log4j.xml at a point where ${webapp.root} is not set. Therefore initialization fails.
This isn't corrected by the Log4jConfigListener afterwards (I think because Log4J is already configured)...
Am I completly wrong or is there any solutions for this problem?
Thanks in advance.


Reply With Quote