You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2006/02/07 22:55:00 UTC
svn commit: r375732 -
/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/DataSender.java
Author: fhanik
Date: Tue Feb 7 13:54:59 2006
New Revision: 375732
URL: http://svn.apache.org/viewcvs?rev=375732&view=rev
Log:
report more infrequently
Modified:
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/DataSender.java
Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/DataSender.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/DataSender.java?rev=375732&r1=375731&r2=375732&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/DataSender.java (original)
+++ tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/DataSender.java Tue Feb 7 13:54:59 2006
@@ -727,7 +727,7 @@
protected void addStats(int length) {
nrOfRequests++;
totalBytes += length;
- if (log.isInfoEnabled() && (nrOfRequests % 100) == 0) {
+ if (log.isInfoEnabled() && (nrOfRequests % 1000) == 0) {
log.info(sm.getString("IDataSender.stats", new Object[] {
getAddress().getHostAddress(), new Integer(getPort()),
new Long(totalBytes), new Long(nrOfRequests),
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org