Re: Logger level being ignored

2007-05-23 Thread James Stauffer
N"/> > > > > > > Ron Gallagher, AT&T Mobility > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > > > ben short > > > Sent: Wednesday, May 23, 2007 10:54 AM > > >

Re: Logger level being ignored

2007-05-23 Thread ben short
er. > > > > To change this behavior, just set the additivity on the > > org.apache.commons.httpclient to false. > > > > > value="WARN"/> > > > > Ron Gallagher, AT&T Mobility > > > > -Original Message- > > From: [EMAIL PR

Re: Logger level being ignored

2007-05-23 Thread ben short
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > ben short > Sent: Wednesday, May 23, 2007 10:54 AM > To: Log4J Users List > Subject: Re: Logger level being ignored > > Heres my output with -Dlog4j.debug. Seems to show the correct setup of > the log

Re: Logger level being ignored

2007-05-23 Thread James Stauffer
set the additivity on the org.apache.commons.httpclient to false. Ron Gallagher, AT&T Mobility -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Wednesday, May 23, 2007 10:54 AM To: Log4J Users List Subject: Re: Logger level being ignored Here

RE: Logger level being ignored

2007-05-23 Thread Gallagher, Ron
Behalf Of ben short Sent: Wednesday, May 23, 2007 10:54 AM To: Log4J Users List Subject: Re: Logger level being ignored Heres my output with -Dlog4j.debug. Seems to show the correct setup of the logger. log4j: Trying to find [log4j.properties] using ClassLoader.getSystemResource(). log4j: Could

Re: Logger level being ignored

2007-05-23 Thread James Stauffer
That all looks fine except I am not sure if lines 3-4 are ok. Are you using automatic config with log4j.xml in your classpath? Are you sure nothing else is configuring log4j? On 5/23/07, ben short <[EMAIL PROTECTED]> wrote: Heres my output with -Dlog4j.debug. Seems to show the correct setup of

Re: Logger level being ignored

2007-05-23 Thread ben short
Heres my output with -Dlog4j.debug. Seems to show the correct setup of the logger. log4j: Trying to find [log4j.properties] using ClassLoader.getSystemResource(). log4j: Could not find resource: [null]. log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).

Re: Logger level being ignored

2007-05-23 Thread James Stauffer
Your configuration looks correct. You could run with -Dlog4j.debug to verify that is is being used. On 5/23/07, ben short <[EMAIL PROTECTED]> wrote: Hi, I have an application that uses the apache HTTPClient. With my applications logging setup in debug mode the HTTPClient spits out lots of info

Logger level being ignored

2007-05-23 Thread ben short
Hi, I have an application that uses the apache HTTPClient. With my applications logging setup in debug mode the HTTPClient spits out lots of info to the log file. I have setup a logger as shown in the following log4j.xml, But it seems to be ignored and i see the following in my log file. I also h