You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luca Gervasi <to...@ashetic.net> on 2010/07/14 14:48:00 UTC

Too verbose log

Hallo!

I'm using tomcat 6.0.26 and java 1.5, to cluster some tomcats.

I'm getting my log filled by lines like: 
"INFO: ThroughputInterceptor Report[
	Tx Msg:438951 messages
	Sent:507.93 MB (total)
	Sent:281.97 MB (application)
	Time:94.91 seconds
	Tx Speed:5.35 MB/sec (total)
	TxSpeed:2.97 MB/sec (application)
	Error Msg:0
	Rx Msg:790000 messages
	Rx Speed:0.01 MB/sec (since 1st msg)
	Received:415.47 MB]"

Is there a way to turn it off?

Thanks.

Luca




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


RE: Too verbose log

Posted by Martin Gainty <mg...@hotmail.com>.
tuning off all entries for a log  is not a good idea

 

better off to change any LEVEL assignments from DEBUG or whatever to FATAL 
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html

 

commons logging change any LEVEL assigments from DEBUG or whatever to LOG_LEVEL_FATAL 

http://commons.apache.org/logging/commons-logging-1.1.1/apidocs/index.html

 

hth
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 

> Subject: Too verbose log
> From: tomcat@ashetic.net
> To: users@tomcat.apache.org
> Date: Wed, 14 Jul 2010 14:48:00 +0200
> 
> Hallo!
> 
> I'm using tomcat 6.0.26 and java 1.5, to cluster some tomcats.
> 
> I'm getting my log filled by lines like: 
> "INFO: ThroughputInterceptor Report[
> Tx Msg:438951 messages
> Sent:507.93 MB (total)
> Sent:281.97 MB (application)
> Time:94.91 seconds
> Tx Speed:5.35 MB/sec (total)
> TxSpeed:2.97 MB/sec (application)
> Error Msg:0
> Rx Msg:790000 messages
> Rx Speed:0.01 MB/sec (since 1st msg)
> Received:415.47 MB]"
> 
> Is there a way to turn it off?
> 
> Thanks.
> 
> Luca
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

RE: Too verbose log

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Luca Gervasi [mailto:tomcat@ashetic.net]
> Subject: Too verbose log
> 
> I'm using tomcat 6.0.26 and java 1.5, to cluster some tomcats.
> 
> I'm getting my log filled by lines like:
> "INFO: ThroughputInterceptor Report[
> 
> Is there a way to turn it off?

Set the interval attribute for the ThroughputInterceptor to a very large value:

http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-interceptor.html#org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor%20Attributes

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.