Unwanted logging to Log Files from Commons.Digester

T

thiaga

My log4j is logging unwanted messages related to Commons.Digester
This makes the size of my log files huge.

There must some property that needs to set or removed. I am clueless.

I am using weblogic 9.1 and log4j-1.2.9.jar
Please help!

An extract of the messages being logged -
"
<20 Jul 2006 17:12:34,703> <DEBUG>
<org.apache.commons.digester.Digester> register('-//Apache Software
Foundation//DTD Struts Configuration 1.0//EN',
'zip:C:/bea91/project/ccs/./servers/AdminServer/tmp/_WL_internal/consoleapp/z0ngqf/APP-INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
<20 Jul 2006 17:12:34,703> <DEBUG>
<org.apache.commons.digester.Digester> register('-//Apache Software
Foundation//DTD Struts Configuration 1.1//EN',
'zip:C:/bea91/project/ccs/./servers/AdminServer/tmp/_WL_internal/consoleapp/z0ngqf/APP-INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_1.dtd'
<20 Jul 2006 17:12:34,703> <DEBUG>
<org.apache.commons.digester.Digester> register('-//Sun Microsystems,
Inc.//DTD Web Application 2.2//EN',
'zip:C:/bea91/project/ccs/./servers/AdminServer/tmp/_WL_internal/consoleapp/z0ngqf/APP-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
<20 Jul 2006 17:12:34,703> <DEBUG>
<org.apache.commons.digester.Digester> register('-//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN',
'zip:C:/bea91/project/ccs/./servers/AdminServer/tmp/_WL_internal/consoleapp/z0ngqf/APP-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'
<20 Jul 2006 17:12:34,718> <DEBUG>
<org.apache.struts.action.ActionServlet> Scanning web.xml for
controller servlet mapping
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester.sax>
setDocumentLocator(com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy@1aee937)
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester.sax> startDocument()
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester.sax>
startPrefixMapping(,http://java.sun.com/xml/ns/j2ee)
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester.sax>
startPrefixMapping(xsi,http://www.w3.org/2001/XMLSchema-instance)
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester.sax>
startElement(http://java.sun.com/xml/ns/j2ee,web-app,web-app)
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester> Pushing body text ''
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester> New match='web-app'
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester> No rules found matching
'web-app'.
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester.sax> characters(

)
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester.sax>
startElement(http://java.sun.com/xml/ns/j2ee,display-name,display-name)
<20 Jul 2006 17:12:34,750> <DEBUG>
<org.apache.commons.digester.Digester> Pushing body text '

'"
 
R

Roland de Ruiter

My log4j is logging unwanted messages related to Commons.Digester
This makes the size of my log files huge.

There must some property that needs to set or removed. I am clueless.

I am using weblogic 9.1 and log4j-1.2.9.jar
Please help!

An extract of the messages being logged -
"
<20 Jul 2006 17:12:34,703> <DEBUG>
<org.apache.commons.digester.Digester> register('-//Apache Software
Foundation//DTD Struts Configuration 1.0//EN',

Set log level for hierarcy org.apache.commons.digester explicitly, e.g.
in your log configuration file, like
log4j.logger.org.apache.commons.digester=ERROR
or progammatically (don't know details for this, since I haven't used
Log4J for quite some while).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top