You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pe...@materna.de on 2006/01/10 14:42:51 UTC

Tomcat unusable when logging set to debug mode

Hi all!

Because of a mistake in writing in my log4j configuration logging has been
set to debug mode.
When deploying the webapp Tomcat began to log thousands of debug messages,
and so
became unusable because of the heavy load. I had to stop Tomcat and delete
the webapp
from the webapp-directory manually. This is not very useful if there are
running several,
frequently used webapps... So is there away to avoid such situations? How
can I Tomcat
prevent to produce such heavy (and not very useful) load? Is there a way?

Thanks

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat unusable when logging set to debug mode

Posted by Ole Chr Langfjæran <ol...@advicom.no>.
How about editing your log4j.properties file and adding the following?:

log4j.logger.org.apache=INFO


Peter.Zoche@materna.de wrote:

>Hi all!
>
>Because of a mistake in writing in my log4j configuration logging has been
>set to debug mode.
>When deploying the webapp Tomcat began to log thousands of debug messages,
>and so
>became unusable because of the heavy load. I had to stop Tomcat and delete
>the webapp
>from the webapp-directory manually. This is not very useful if there are
>running several,
>frequently used webapps... So is there away to avoid such situations? How
>can I Tomcat
>prevent to produce such heavy (and not very useful) load? Is there a way?
>
>Thanks
>
>Peter
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org