Skip to content

Commit be3e40c

Browse files
jim0987795064Ubuntu
andauthored
HOTFIX: Fix log level in StateChangeLogger#trace (#20662)
from: #20637 (comment) 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 <[email protected]>, TengYao Chi <[email protected]>, Ken Huang <[email protected]>, Chia-Ping Tsai <[email protected]> Co-authored-by: Ubuntu <[email protected]>
1 parent d1b160b commit be3e40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server-common/src/main/java/org/apache/kafka/logger/StateChangeLogger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public StateChangeLogger(int brokerId) {
3333
}
3434

3535
public void trace(String message) {
36-
LOGGER.info("{}{}", logIdent, message);
36+
LOGGER.trace("{}{}", logIdent, message);
3737
}
3838

3939
public void info(String message) {

0 commit comments

Comments
 (0)