cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzn...@apache.org
Subject [01/50] [abbrv] cassandra git commit: Ninja: move ProposeCallback.response() logging to trace
Date Tue, 20 Sep 2016 02:32:07 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 95b2d0241 -> 6fb89b905
  refs/heads/cassandra-2.2 ad4a91da7 -> 465496f3a
  refs/heads/cassandra-3.0 4bc3aa933 -> ade38b207
  refs/heads/cassandra-3.9 c11c7d73d -> bb371eada
  refs/heads/trunk 105054471 -> 944608428


Ninja: move ProposeCallback.response() logging to trace

This is on the client request path, and can spam the debug log.  This
was already moved to trace-level logging in trunk, I'm simply
backporting it to 2.2.

+1'ed on IRC by Paulo Motta and Jeff Jirsa


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

Branch: refs/heads/cassandra-3.9
Commit: 23d4822439da2110b203489999d3475ec6ee0546
Parents: 465bb5d
Author: Tyler Hobbs <tylerlhobbs@gmail.com>
Authored: Wed Aug 24 16:50:27 2016 -0500
Committer: Tyler Hobbs <tylerlhobbs@gmail.com>
Committed: Wed Aug 24 16:50:27 2016 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/paxos/ProposeCallback.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/23d48224/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java b/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
index 018dab9..b0bd163 100644
--- a/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
+++ b/src/java/org/apache/cassandra/service/paxos/ProposeCallback.java
@@ -59,7 +59,7 @@ public class ProposeCallback extends AbstractPaxosCallback<Boolean>
 
     public void response(MessageIn<Boolean> msg)
     {
-        logger.debug("Propose response {} from {}", msg.payload, msg.from);
+        logger.trace("Propose response {} from {}", msg.payload, msg.from);
 
         if (msg.payload)
             accepts.incrementAndGet();


Mime
View raw message