I have not tested to see if this works for multiple apps but I placed 
my log4j properties file in the same location as you, but I also used 
an initialization servlet to read it in as described in the log4j 
manual. I am using JBoss 2.4.4 and Tomcat 3.2.3.

I'll try to verify that this does in fact work for me with multiple 
apps if I can find the time.



>Hello friends.
>I'm facing a wierd problem.
>I'm using Tomcat 4.0.2 and Apache  1.3.20 on redhat 7.2 and latest log4j.
>I've set the $CATALINA_OPTS="-Dlog4j.configuration=log4j.configure"
>I'm running two applications ABC and XYZ.
>When i put log4j.configure file in WEB-INF/classes/  of ABC and XYZ, 
>seems like log4j doesnot logs for both.
>whereas it is writing to a specified file for the first application 
>accessed via web either ABC or XYZ .
>I mean if i access ABC it creates a log file specified in 
>log4j.configure for ABC. and logs of XYZ are written in a 
>catalina.out.
>Can any one please help me out to solve this problem.
>I want log using log4j for multiple applications.
>Waiting for reply,
>thanking u in advance ..
>Prashant
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to