Patchwork [BUG:2573] remove the names from the log files

login
register
Submitter Raghavendra Bhat
Date 2011-03-22 08:31:03
Message ID <20110322083103.GA29470@dev.gluster.com>
Download mbox | patch
Permalink /patch/6547/
State Accepted
Headers show

Comments

Raghavendra Bhat - 2011-03-22 08:31:03
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
---
 xlators/debug/io-stats/src/io-stats.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Patch

diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index b990146..41a0993 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -456,7 +456,6 @@  ios_stat_add_to_list (struct ios_stat_head *list_head, uint64_t value,
                         if (reposition == MAX_LIST_MEMBERS)
                                 list_head->min_cnt = value;
                         else if (min_count) {
-                                gf_log ("shishir", 1, "I am here");
                                 list_head->min_cnt = min_count;
                         }
                 } else if (list_head->members < MAX_LIST_MEMBERS) {
@@ -1038,13 +1037,11 @@  io_stats_dump_stats_to_dict (xlator_t *this, dict_t *resp,
                                  goto out;
                          if (index != IOS_STATS_THRU_MAX) {
                                  snprintf (key, 256, "%s-%d", "time-sec", cnt);
-                                 gf_log ("shishir", 1, "%s %ld",key,entry->iosstat->thru_counters[index].time.tv_sec);
                                  ret = dict_set_int32 (resp, key, 
                                          entry->iosstat->thru_counters[index].time.tv_sec);
                                  if (ret)
                                          goto out;
                                  snprintf (key, 256, "%s-%d", "time-usec", cnt);
-                                gf_log ("shishir", 1, "%s %ld",key,entry->iosstat->thru_counters[index].time.tv_usec);
                                  ret = dict_set_int32 (resp, key, 
                                          entry->iosstat->thru_counters[index].time.tv_usec);
                                  if (ret)