kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [2/3] kudu git commit: Reduce log spew from rpcz_store.cc
Date Sun, 15 Oct 2017 04:10:31 GMT
Reduce log spew from rpcz_store.cc

The sampled RPC call statement has been filing the log. Let's dial down its log level.
This particularly impacts Impala as its default log level is 1.

If it turns out that this log statement is useful for Kudu deployment, we can
consider doing this change in Impala only.

Testing done:
  ctest -R rpc-test;
  Built debug and release builds;

Change-Id: I8efe68be0ae7f9ab05937d5c81fb53a709a881f1
Reviewed-on: http://gerrit.cloudera.org:8080/8273
Reviewed-by: Todd Lipcon <todd@apache.org>
Tested-by: Kudu Jenkins


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

Branch: refs/heads/master
Commit: 83b693150d0c5772ae52cf9bc2bad58a46c25a92
Parents: eb5c7e2
Author: Michael Ho <kwho@cloudera.com>
Authored: Thu Oct 12 16:36:27 2017 -0700
Committer: Todd Lipcon <todd@apache.org>
Committed: Sat Oct 14 00:46:29 2017 +0000

----------------------------------------------------------------------
 src/kudu/rpc/rpcz_store.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/83b69315/src/kudu/rpc/rpcz_store.cc
----------------------------------------------------------------------
diff --git a/src/kudu/rpc/rpcz_store.cc b/src/kudu/rpc/rpcz_store.cc
index ffbbf2f..8c8c04a 100644
--- a/src/kudu/rpc/rpcz_store.cc
+++ b/src/kudu/rpc/rpcz_store.cc
@@ -159,7 +159,7 @@ void MethodSampler::SampleCall(InboundCall* call) {
       std::swap(bucket->sample, new_sample);
       bucket->last_sample_time.Store(now);
     }
-    VLOG(1) << "Sampled call " << call->ToString();
+    VLOG(2) << "Sampled call " << call->ToString();
   }
 }
 


Mime
View raw message