日期:2014-05-19  浏览次数:20747 次

Struts2和Tomcat启动问题
小弟自学java不久,最近在学struts2,建了一个strust2的web项目,用的是tomcat7.0,在启动服务器的时候控制台有很多信息,不知道怎么可以去掉这些信息(貌似是一个日志相关的信息),具体的信息如下:
十二月 19, 2012 1:39:10 下午 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6.
十二月 19, 2012 1:39:10 下午 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
十二月 19, 2012 1:39:11 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1c 10 May 2012)
十二月 19, 2012 1:39:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-80"]
十二月 19, 2012 1:39:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
十二月 19, 2012 1:39:12 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2203 ms
十二月 19, 2012 1:39:12 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 19, 2012 1:39:12 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.30
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Unable to locate configuration files of the name struts-plugin.xml, skipping
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory)
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory)
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter)
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider)
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider)
十二月 19, 2012 1:39:14 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Choosing bean (struts) for (com.opensymphony.