You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2010/08/07 06:12:43 UTC

svn commit: r983171 - /trafficserver/traffic/trunk/proxy/logging/LogConfig.h

Author: zwoop
Date: Sat Aug  7 04:12:43 2010
New Revision: 983171

URL: http://svn.apache.org/viewvc?rev=983171&view=rev
Log:
TS-390: Remove unnecessary stats update.

This is done in periodic_tasks() in Log.cc anyways, and we don't
need this fine granularity on the updates I think (this could be
a lot of stats update on a very busy box with logging).

Modified:
    trafficserver/traffic/trunk/proxy/logging/LogConfig.h

Modified: trafficserver/traffic/trunk/proxy/logging/LogConfig.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/logging/LogConfig.h?rev=983171&r1=983170&r2=983171&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/logging/LogConfig.h (original)
+++ trafficserver/traffic/trunk/proxy/logging/LogConfig.h Sat Aug  7 04:12:43 2010
@@ -171,7 +171,6 @@ public:
   {
     m_space_used += bytes;
     m_partition_space_left -= bytes;
-    LOG_SET_DYN_STAT(log2_stat_log_files_space_used_stat, 1, m_space_used);
   };
   void update_space_used();
   void read_configuration_variables();