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 2014/03/28 19:10:26 UTC
git commit: TS-2674 Remove debug printf() from traffic_top.
Repository: trafficserver
Updated Branches:
refs/heads/master 82cc8c12a -> 723329192
TS-2674 Remove debug printf() from traffic_top.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/72332919
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/72332919
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/72332919
Branch: refs/heads/master
Commit: 7233291924911da7e6b62101b51912987b9a1a48
Parents: 82cc8c1
Author: Leif Hedstrom <zw...@apache.org>
Authored: Fri Mar 28 12:10:21 2014 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Fri Mar 28 12:10:21 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/72332919/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 8a23115..3523452 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
-*- coding: utf-8 -*-
Changes with Apache Traffic Server 5.0.0
+ *) [TS-2674] Remove debug printf() from traffic_top.
+
*) [TS-2652] atscppapi: Providing a cancel() in asyncproviders
*) [TS-2667] atscppapi: Allow intercept plugins to access request headers object
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/72332919/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());