You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2025/10/09 06:13:26 UTC

(kafka) branch trunk updated: HOTFIX: Fix log level in StateChangeLogger#trace (#20662)

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

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new be3e40c45ac HOTFIX: Fix log level in StateChangeLogger#trace (#20662)
be3e40c45ac is described below

commit be3e40c45ac9a70833ce0d5735ad141a5bd24627
Author: Chang-Chi Hsu <ji...@gmail.com>
AuthorDate: Thu Oct 9 08:13:20 2025 +0200

    HOTFIX: Fix log level in StateChangeLogger#trace (#20662)
    
    from: https://github.com/apache/kafka/pull/20637#discussion_r2414668452
    
    Previously, the method used LOGGER.info() instead of LOGGER.trace().
    This patch corrects the logging level used in the trace method of
    StateChangeLogger.
    
    Reviewers: Manikumar Reddy <ma...@gmail.com>, TengYao Chi
     <ki...@gmail.com>, Ken Huang <s7...@gmail.com>, Chia-Ping Tsai
     <ch...@gmail.com>
    
    Co-authored-by: Ubuntu <ub...@jim.infra.cloudnative.tw>
---
 .../src/main/java/org/apache/kafka/logger/StateChangeLogger.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server-common/src/main/java/org/apache/kafka/logger/StateChangeLogger.java b/server-common/src/main/java/org/apache/kafka/logger/StateChangeLogger.java
index a8f7ed9cc9d..a852fc30eb8 100644
--- a/server-common/src/main/java/org/apache/kafka/logger/StateChangeLogger.java
+++ b/server-common/src/main/java/org/apache/kafka/logger/StateChangeLogger.java
@@ -33,7 +33,7 @@ public class StateChangeLogger {
     }
 
     public void trace(String message) {
-        LOGGER.info("{}{}", logIdent, message);
+        LOGGER.trace("{}{}", logIdent, message);
     }
 
     public void info(String message) {