How to turn off Tomcat logging in Eclipse?

Posted by kirdie on Server Fault See other posts from Server Fault or by kirdie
Published on 2012-10-26T10:23:55Z Indexed on 2012/10/26 11:03 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

I develop a Vaadin project in Eclipse that I start through Tomcat 6 which gets started directly by Eclipse. Tomcat prints an enormous amount of log messages though on each start which makes it hard to see the output of my own Application. I have already replaced all log levels in tomcat6/conf/logging.properties by WARNING (e.g. java.util.logging.ConsoleHandler.level = WARNING) but I still get many INFO messages. How can I turn this off or restrict the log messages to WARNING?

An example of the messages

Okt 26, 2012 12:16:36 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.24.
Okt 26, 2012 12:16:36 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Okt 26, 2012 12:16:36 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:saim' did not find a matching property.
Okt 26, 2012 12:16:37 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Okt 26, 2012 12:16:37 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Okt 26, 2012 12:16:37 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 879 ms
Okt 26, 2012 12:16:37 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Okt 26, 2012 12:16:37 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Okt 26, 2012 12:16:37 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Okt 26, 2012 12:16:37 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Okt 26, 2012 12:16:37 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 568 ms

© Server Fault or respective owner

Related posts about tomcat

Related posts about logging