You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Zach Calvert <za...@gmail.com> on 2006/09/27 00:03:04 UTC

Log4J Screen Overflow

 I'm pretty new to this and am sure there is something I am missing when
configuring log4j.  I have looked through a lot of the archives and have not
yet found the answer I need.  I am using Tomcat 5.5.17 and have a startup
servlet that I call PropertyConfigurator.configure to a property file that
has

log4j.rootLogger=DEBUG, ConsoleLogger

log4j.logger.org.apache.axis=NONE

log4j.appender.ConsoleLogger=org.apache.log4j.ConsoleAppender
log4j.appender.ConsoleLogger.layout=org.apache.log4j.PatternLayout
log4j.appender.ConsoleLogger.layout.ConversionPattern=[%c{1}:%L]->%m%n

in it.  For some reason, debug and info lines keep coming from axis and they
fill my screen overloading my java console.  This even happens if I put the
rootLogger to NONE.  How do I configure log4j so that I do not get a console
filled with

[JspRuntimeContext:102]->Parent class loader is: WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@12c9557<bl...@12c9557>

[JspRuntimeContext:343]->Compilation classpath initialized:
/U:/MISMOSOAP/app/webapps/axis/WEB-INF/classes/;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/axis-
ant.jar
;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/axis.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/commons-
discovery-0.2.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/commons-
logging-1.0.4.jar
;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/jaxrpc.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/log4j-
1.2.8.jar
;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/saaj.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/wsdl4j-
1.5.1.jar
;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/xerces.jar;U:\MISMOSOAP\app\work\Catalina\localhost\axis;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/classes/;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/axis-
ant.jar
;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/axis.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/commons-
discovery-0.2.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/commons-
logging-1.0.4.jar
;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/jaxrpc.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/log4j-
1.2.8.jar
;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/saaj.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/wsdl4j-
1.5.1.jar;/U:/MISMOSOAP/app/webapps/axis/WEB-INF/lib/xerces.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/classes/;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/i18n/tomcat-i18n-en.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/i18n/tomcat-i18n-es.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/i18n/tomcat-i18n-fr.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/i18n/tomcat-i18n-ja.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/commons-el.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/jasper-compiler-jdt.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/jasper-compiler.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/jasper-runtime.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/jsp-api.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/naming-factory-dbcp.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/naming-factory.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/naming-resources.jar;/C:/Program
Files/Apache Tomcat/apache-tomcat-5.5.17/common/lib/servlet-api.jar
;/U:/MISMOSOAP/;/C:/Program%20Files/Java/jdk1.5.0_08/jre/lib/ext/dnsns.jar;/C:/Program%20Files/Java/jdk1.5.0_08/jre/lib/ext/localedata.jar;/C:/Program%20Files/Java/jdk1.5.0_08/jre/lib/ext/sunjce_provider.jar;/C:/Program%20Files/Java/jdk1.5.0_08/jre/lib/ext/sunpkcs11.jar
[JspServlet:102]->Scratch dir for the JSP engine is:
U:\MISMOSOAP\app\work\Catalina\localhost\axis
[JspServlet:104]->IMPORTANT: Do not modify the generated servlets
[AxisServlet:111]->In AxisServletBase init
[AxisServlet:166]->Enter: getEngine()
[ProjectResourceBundle:264]->getBundle(org.apache.axis,org.apache.axis.i18n
,resource,null,...)
[ProjectResourceBundle:423]->loadBundle: Ignoring MissingResourceException:
Can't find bundle for base name org.apache.axis.resource, locale en_US
[ProjectResourceBundle:318]->Created org.apache.axis.i18n.resource, linked
to parent null
[ProjectResourceBundle:264]->getBundle(org.apache.axis,org.apache.axis.utils
,resource,null,...)
[ProjectResourceBundle:264]->getBundle(org.apache.axis,org.apache.axis.utils
,resource,null,...)
[ProjectResourceBundle:423]->loadBundle: Ignoring MissingResourceException:
Can't find bundle for base name org.apache.axis.utils.resource, locale en_US
[ProjectResourceBundle:423]->loadBundle: Ignoring MissingResourceException:
Can't find bundle for base name org.apache.axis.resource, locale en_US
[ProjectResourceBundle:328]->Root package not found, cross link to
org.apache.axis.i18n.resource
[ProjectResourceBundle:328]->Root package not found, cross link to
org.apache.axis.i18n.resource
[ProjectResourceBundle:72]->org.apache.axis.i18n.resource::handleGetObject
(engineFactory)
[ProjectResourceBundle:72]->org.apache.axis.i18n.resource::handleGetObject
(engineFactory)
[EngineConfigurationFactoryFinder:141]->Got EngineFactory:
org.apache.axis.configuration.EngineConfigurationFactoryDefault
[EngineConfigurationFactoryFinder:141]->Got EngineFactory:
org.apache.axis.configuration.EngineConfigurationFactoryServlet
[AxisEngine:165]->Enter: AxisEngine::init
[DefaultAxisServerFactory:71]->Enter: DefaultAxisServerFactory::getServer
[DefaultAxisServerFactory:122]->Enter:
DefaultAxisServerFactory::getEngineConfiguration
[DefaultAxisServerFactory:162]->Exit:
DefaultAxisServerFactory::getEngineConfiguration
[AxisEngine:165]->Enter: AxisEngine::init
[ProjectResourceBundle:72]->org.apache.axis.i18n.resource::handleGetObject
(attachEnabled)
[JavaUtils:1305]->Attachment support is enabled?  false
[ProjectResourceBundle:72]->org.apache.axis.i18n.resource::handleGetObject
(attachDisabled)
[JavaUtils:1308]->Unable to find required classes (
javax.activation.DataHandler and javax.mail.internet.MimeMultipart).
Attachment support is disabled.
[ProjectResourceBundle:72]->org.apache.axis.i18n.resource::handleGetObject
(oddDigits00)
[ProjectResourceBundle:72]->org.apache.axis.i18n.resource::handleGetObject
(badChars01)
[AxisEngine:195]->Exit: AxisEngine::init
[AxisEngine:195]->Exit: AxisEngine::init
[DefaultAxisServerFactory:94]->Exit: DefaultAxisServerFactory::getServer
[AxisServlet:193]->Exit: getEngine()
...



Thank you,
Zach Calvert