Mohit-

yes log4j.xml and or log4j.properties are read by TC (when TC/catalina engine 
starts)
you *can* put your config in web.xml and libs in /WEB-INF/lib to ensure log4j 
logs only the log4j config'ed webapp

HTH,
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Fri, 31 Oct 2008 13:20:45 -0700
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Logging
> 
> Is log4j.xml or log4j.properties read dynamically?
> 
> On Thu, Oct 30, 2008 at 5:30 PM, Caldarale, Charles R
> <[EMAIL PROTECTED]> wrote:
> >> From: Mohit Anchlia [mailto:[EMAIL PROTECTED]
> >> Subject: Re: Logging
> >>
> >> But I quite didn't understand what tomcat-juli.jar is
> >> and how it will help with this issue.
> >
> > The tomcat-juli.jar provides the APIs that core Tomcat code calls; in the 
> > standard distribution, this is a streamlined and renamed version of 
> > commons-logging.  Building in the extras replaces the guts of 
> > tomcat-juli.jar with the full commons-logging, but still with the classes 
> > renamed to match what Tomcat code expects.
> >
> > You could look at at extra.xml to see how that's done.
> >
> >  - Chuck
> >
> >
> > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> > MATERIAL and is thus for use only by the intended recipient. If you 
> > received this in error, please contact the sender and delete the e-mail and 
> > its attachments from all computers.
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
You live life beyond your PC. So now Windows goes beyond your PC.
http://clk.atdmt.com/MRT/go/115298556/direct/01/

Reply via email to