but is there a root logger setting debug? or a call to BasicConfigurator?
It's always hard to tell what settings log4j is actually using if
there is more than one. I'd suggest as a workaround this in your setUp
method:
Logger.getLogger("org.apache.commons.digester").setLevel( Level.ERROR );
On Wed, 30 Mar 2005 18:51:21 -0800, Hal Arnold <[EMAIL PROTECTED]> wrote:
> Yes, you'd think that was true. I am forking and I've diligently
> (apparently not enough, I guess) every conceivable log4j.* searching for
> where either of the following is set other than WARN, and it just
> doesn't exist.
> log4j.category.org.apache.commons=WARN
> log4j.logger.org.apache.commons=WARN
>
> Let you know if I ever figure it out.
> /h
>
> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 30, 2005 6:14 PM
> To: Maven Users List
> Subject: Re: anybody know how to turn off the junit DEBUG?
>
> http://svn.apache.org/repos/asf/maven/maven-1/core/trunk/src/conf/log4j.
> properties
>
> If you are not forking unit tests, commons should come out at warn. If
> you are forking unit tests, then it is however you have configured
> log4j in your own test suite.
>
> Cheers,
> Brett
>
> On Wed, 30 Mar 2005 15:25:06 -0800, Hal Arnold <[EMAIL PROTECTED]> wrote:
> > I've tried to track down every instance of log4j.properties that I can
> > find to turn of Digester's DEBUG statements, but so far I've failed.
> > I've looked at Maven and the junit plugin to try to figure out how it
> > might work to enable the logging level. Ive tried to use:
> >
> > log4j.logger.org.apache.commons.digester.Digester=INFO
> >
> > But I can't seem to get these statements to quit. Any ideas?
> >
> > test:single:
> >
> > [junit] Running com.blah.blah.content.ReceptorBooleanColumnTest
> >
> > [junit] 0 [main] DEBUG cj.ace.core.ContentRepository - init()
> >
> > [junit] 15 [main] DEBUG cj.ace.core.ContentRepository - config
> > file: ace-config.xml
> >
> > [junit] 62 [main] DEBUG org.apache.commons.digester.Digester -
> > addRuleSet() with no namespace URI
> >
> > [junit] 78 [main] DEBUG cj.ace.core.ContentRepository - created
> > file from URL
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester.sax
> -
> >
> setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorPr
> > [EMAIL PROTECTED])
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester.sax
> -
> > startDocument()
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester.sax
> -
> > startPrefixMapping(xml,http://www.w3.org/XML/1998/namespace)
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester.sax
> -
> > startPrefixMapping(xmlns,http://www.w3.org/2000/xmlns/)
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester.sax
> -
> > startElement(,,ace)
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester -
> > Pushing body text ''
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester -
> > New match='ace'
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester -
> > Fire begin() for
> > ObjectCreateRule[className=cj.ace.config.ContentRepositoryFactory,
> > attributeName=null]
> >
> > [junit] 156 [main] DEBUG org.apache.commons.digester.Digester -
> > [ObjectCreateRule]{ace}New cj.ace.config.ContentRepositoryFactory
> >
> > [junit] 171 [main] DEBUG org.apache.commons.digester.Digester.sax
> -
> > characters(
> >
> > [junit] ) AND A THOUSAND OTHERS
> >
> > /hba
> >
> >
>
> ---------------------------------------------------------------------
> 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]