Repository: trafficserver
Updated Branches:
  refs/heads/4.2.x 27294483b -> b85683e2a


TS-2674 Remove debug printf() from traffic_top.

(cherry picked from commit 7233291924911da7e6b62101b51912987b9a1a48)

Conflicts:
        CHANGES


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/e025475b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/e025475b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/e025475b

Branch: refs/heads/4.2.x
Commit: e025475b41f30e1d5349c57057c46216b949860f
Parents: 2729448
Author: Leif Hedstrom <[email protected]>
Authored: Fri Mar 28 12:10:21 2014 -0600
Committer: Phil Sorber <[email protected]>
Committed: Thu Apr 10 10:21:15 2014 -0600

----------------------------------------------------------------------
 CHANGES                 | 2 ++
 cmd/traffic_top/stats.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e025475b/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 3e28682..3d27b9f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.2.1
 
+  *) [TS-2674] Remove debug printf() from traffic_top.
+
   *) [TS-2671] Restore missing .useflt remap directive.
 
   *) [TS-2564] Revert field token ordering.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e025475b/cmd/traffic_top/stats.h
----------------------------------------------------------------------
diff --git a/cmd/traffic_top/stats.h b/cmd/traffic_top/stats.h
index ebb9b63..860342f 100644
--- a/cmd/traffic_top/stats.h
+++ b/cmd/traffic_top/stats.h
@@ -305,7 +305,6 @@ public:
 
   int64_t getValue(const string &key, const map<string, string> *stats) const {
     map<string, string>::const_iterator stats_it = stats->find(key);
-    printf("trying to find %s\n", key.c_str());
     if (stats_it == stats->end())
       return 0;
     int64_t value = atoll(stats_it->second.c_str());

Reply via email to