We have WEB-INF/classes/log4j.properties file which instructs log4j to log to ${catalina.home}/logs/${logFileName}.log file. This works great when I deploy the web app in Tomcat.
However, I would like the logs to be written to a different file when I run my tests that use WicketTester and start their own servlet containers. How can I instruct my tests to log to a different location or even use a different log4j.properties file altogether? Thanks.