[jboss-user] [JBoss Tools] - Tomcat 6 server config: alter logging level for startup?

Karsten Wutzke do-not-reply at jboss.com
Wed Mar 23 13:08:24 EDT 2011


Karsten Wutzke [http://community.jboss.org/people/kwutzke] created the discussion

"Tomcat 6 server config: alter logging level for startup?"

To view the discussion, visit: http://community.jboss.org/message/595150#595150

--------------------------------------------------------------
Hello,

when Tomcat is started up it outputs INFO-level log entries to the console like

23.03.2011 12:51:58 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\...
23.03.2011 12:51:58 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARN: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:bbstats' did not find a matching property.
23.03.2011 12:51:58 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
23.03.2011 12:51:58 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 746 ms
23.03.2011 12:51:58 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
23.03.2011 12:51:58 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26

How do I suppress INFO level entries and show only WARNING level entries?

Setting

java.util.logging.ConsoleHandler.level = WARNING

in tomcat/conf/logging.properties doesn't work. The JBT server config doesn't seem to pick up that file, even though I set it to the Tomcat installation path. Where can I alter the logging level for the ConsoleHandler?

The overall question is whether I need this at all... I'm just trying to reduce localhost server startup time because I know the prints are slow. Is it worth the effort or should I ignore it?

Karsten
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/595150#595150]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110323/03ccb705/attachment-0001.html 


More information about the jboss-user mailing list