Hello All,

I have a simple program which uses embedded-tomcat (7.0.50) to host a WAR
file.  The webapp is using log4j and logs correctly when run inside a
standard tomcat container.  However, when hosted by the embedded-tomcat,
the log4j configuration does not appear to be found.

I'm specifying a System property of log4j.configuration, e.g.

java -Dlog4j.configuration=/tmp/log4j.properties -jar
target/webapp-runner.jar /tmp/quickstart.war

I've ensured that the tomcat-embed-logging-log4j dependency is in the class
path during execution.

Any ideas on what I'm doing wrong here?

Thanks!

--john

Reply via email to