Quoting Anand Vijay <[EMAIL PROTECTED]>: > Hi > > but it logs system wide but not the application >
You said you are using Tomcat, right? And do you have struts in WEB-INF/lib along with log4j.jar and commons-logging.jar? You should also have your config file in WEB-INF/classes. There is no reason I can think of that this wouldn't provide per-webapp logging. In fact, it is quite simply impossible for 2 webapps to see each other if your libraries are all stored in WEB-INF/lib. I suggest re-visiting your webapp structure to verify that you have things set up properly. Jake > ----- Original Message ----- > From: "Jacob Kjome" <[EMAIL PROTECTED]> > To: "Log4J Users List" <[email protected]>; "Anand Vijay" > <[EMAIL PROTECTED]> > Sent: Monday, June 13, 2005 7:20 PM > Subject: Re: Using with Struts > > > > > > So put log4j.jar and commons-logging.jar in your WEB-INF/lib. Are you > having > > problems with this setup? It should work fine. > > > > Jake > > > > Quoting Anand Vijay <[EMAIL PROTECTED]>: > > > > > Hi All > > > > > > How to use log4j with tomcat 4.x and struts? . I would like to log only > one > > > of the webapps.. > > > > > > Regards > > > Vijay > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
