You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2021/12/08 10:47:55 UTC

[ratis] branch master updated: RATIS-1463 Fix verbose logging at INFO level (#558)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9c369f3  RATIS-1463 Fix verbose logging at INFO level (#558)
9c369f3 is described below

commit 9c369f3f53250685897dcfa9d01f94c9a906433e
Author: Ritesh H Shukla <ke...@gmail.com>
AuthorDate: Wed Dec 8 02:47:29 2021 -0800

    RATIS-1463 Fix verbose logging at INFO level (#558)
---
 .../src/main/java/org/apache/ratis/server/impl/FollowerState.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ratis-server/src/main/java/org/apache/ratis/server/impl/FollowerState.java b/ratis-server/src/main/java/org/apache/ratis/server/impl/FollowerState.java
index 9777a85..b8d1c8f 100644
--- a/ratis-server/src/main/java/org/apache/ratis/server/impl/FollowerState.java
+++ b/ratis-server/src/main/java/org/apache/ratis/server/impl/FollowerState.java
@@ -140,7 +140,7 @@ class FollowerState extends Daemon {
           }
         }
       } catch (InterruptedException e) {
-        LOG.info("{} was interrupted: {}", this, e);
+        LOG.info("{} was interrupted", this);
         LOG.trace("TRACE", e);
         Thread.currentThread().interrupt();
         return;