Is your log4j.properties being loaded?
Log4jConfigurer.initLogging("C:/somedir/src/test/log4j.properties");

----- Original Message ----- 
From: "david chan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 10:00 AM
Subject: Re: struts printing debug mesg regardless what I did


> Tried both, not working.
> 
> David
> 
> --- Richard Yee <[EMAIL PROTECTED]> wrote:
> > David,
> > Set
> >     <init-param>
> >       <param-name>debug</param-name>
> >       <param-value>0</param-value>
> >     </init-param>
> > 
> > in the web.xml for your action servlet.
> > 
> > -Richard
> > 
> > --- Kevin Hagel <[EMAIL PROTECTED]> wrote:
> > > log4j.category.org.apache.common=WARN
> > > 
> > > ----- Original Message ----- 
> > > From: "david chan" <[EMAIL PROTECTED]>
> > > To: "Struts Users Mailing List"
> > > <[EMAIL PROTECTED]>
> > > Sent: Wednesday, December 03, 2003 9:39 AM
> > > Subject: struts printing debug mesg regardless
> > what
> > > I did
> > > 
> > > 
> > > > Hi,
> > > >  I am using Struts 1.1 and log4j 1.2.4, and in
> > my
> > > > log4j.properties, I have this to turn off Struts
> > > debug
> > > > mesg, but it always printing debug mesg for
> > > package
> > > > org.apache.common. How can I turn it off?
> > > > Thanks.
> > > > David
> > > > 
> > > > ===my log config ===
> > > > log4j.rootLogger=warn, rolling
> > > > log4j.category.org.apache=warn, rolling
> > > >
> > >
> >
> log4j.appender.rolling=org.apache.log4j.RollingFileAppender
> > > > 
> > > > log4j.appender.rolling.File=c:\\temp\\temp.log
> > > > 
> > > > log4j.appender.rolling.MaxFileSize=5000KB
> > > > log4j.appender.rolling.MaxBackupIndex=5
> > > > 
> > > >
> > >
> >
> log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
> > > >
> > log4j.appender.rolling.layout.ConversionPattern=%d
> > > %5p
> > > > [%t] %c{2} - %m%n
> > > > ====== end log config ====
> > > > 
> > > > 
> > > > ==== debug mesg output ====
> > > > ....
> > > > DEBUG
> > > org.apache.commons.beanutils.ConvertUtils.... 
> > > > DEBUG org.apache.commons.digester.Digester....
> > > > ....
> > > > 
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Free Pop-Up Blocker - Get it now
> > > > http://companion.yahoo.com/
> > > > 
> > > >
> > >
> >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > > 
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Free Pop-Up Blocker - Get it now
> > http://companion.yahoo.com/
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to