tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r375732 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/DataSender.java
Date Tue, 07 Feb 2006 21:55:00 GMT
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


Mime
View raw message