This is an automated email from the ASF dual-hosted git repository.

ljain pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ceeb29  RATIS-543. Ratis GRPC client produces excessive logging while 
writing data. Contributed by Tsz Wo Nicholas Sze.
1ceeb29 is described below

commit 1ceeb2990a782c65bc920abe700740a7c95626f7
Author: Lokesh Jain <[email protected]>
AuthorDate: Tue Sep 10 14:34:49 2019 +0530

    RATIS-543. Ratis GRPC client produces excessive logging while writing data. 
Contributed by Tsz Wo Nicholas Sze.
---
 .../java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java
 
b/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java
index e2b6572..8fe3ebf 100644
--- 
a/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java
+++ 
b/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java
@@ -261,7 +261,7 @@ public class GrpcClientProtocolClient implements Closeable {
         final long callId = proto.getRpcReply().getCallId();
         try {
           final RaftClientReply reply = 
ClientProtoUtils.toRaftClientReply(proto);
-          LOG.info("{}: receive {}", getName(), reply);
+          LOG.trace("{}: receive {}", getName(), reply);
           final NotLeaderException nle = reply.getNotLeaderException();
           if (nle != null) {
             completeReplyExceptionally(nle, 
NotLeaderException.class.getName());

Reply via email to