You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by lj...@apache.org on 2019/09/10 09:05:46 UTC

[incubator-ratis] branch master updated: RATIS-543. Ratis GRPC client produces excessive logging while writing data. Contributed by Tsz Wo Nicholas Sze.

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 <lj...@apache.org>
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());