You can look at how I set up configuration stuff in my Advanced Wicket
example code:

http://svn.carmanconsulting.com/public/wicket-advanced/trunk

Basically, I use maven profiles to point to different configuration
directories for each environment (dev, test, prod).  Perhaps that
would help.

On Fri, Mar 19, 2010 at 3:01 PM, Alec Swan <alecs...@gmail.com> wrote:
> 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.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to