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.0
Commit: 23d4822439da2110b203489999d3475ec6ee0546
Parents: 465bb5d
Author: Tyler Hobbs <tylerlho...@gmail.com>
Authored: Wed Aug 24 16:50:27 2016 -0500
Committer: Tyler Hobbs <tylerlho...@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();

Reply via email to