Easiest way: include a copy of log4j.jar in each of the web apps' WEB-INF/lib folder. Include a separate log4j configuration file in each WEB-INF/classes (or modify each app to configure log4j in each).
On 2/27/06, julie gautier <[EMAIL PROTECTED]> wrote: > > Hi all, > I use Tomcat to deploy two web applications. Actually, all the traces > are written to a single file (stdout.log) under the Tomcat log directory. > How can I do to write the traces to different log files : app1.out and > app2.out for instance. > Could you please send me an example ? > Thanks to help me. > > > > --------------------------------- > Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les > tarifs exceptionnels pour appeler la France et l'international.Téléchargezla > version beta. > -- Javier González Nicolini