You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2024/01/04 10:23:20 UTC

(kafka) branch 3.7 updated: MINOR: improve logging for state management (#15045)

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

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


The following commit(s) were added to refs/heads/3.7 by this push:
     new e090229bae9 MINOR: improve logging for state management (#15045)
e090229bae9 is described below

commit e090229bae91e18f56be46e386b2721d05dab563
Author: Matthias J. Sax <ma...@confluent.io>
AuthorDate: Thu Jan 4 02:21:52 2024 -0800

    MINOR: improve logging for state management (#15045)
    
    Increase log level to INFO similar to other log statement in this class, to surface important information on the non-critical code path.
    
    Reviewers: Lucas Brutschy <lb...@confluent.io>
---
 .../apache/kafka/streams/processor/internals/ProcessorStateManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java b/streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java
index 3da40a8e8f6..6ec40c46f18 100644
--- a/streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java
+++ b/streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java
@@ -270,7 +270,7 @@ public class ProcessorStateManager implements StateManager {
                         final Long offset = changelogOffsetFromCheckpointedOffset(loadedCheckpoints.remove(store.changelogPartition));
                         store.setOffset(offset);
 
-                        log.debug("State store {} initialized from checkpoint with offset {} at changelog {}",
+                        log.info("State store {} initialized from checkpoint with offset {} at changelog {}",
                                   store.stateStore.name(), store.offset, store.changelogPartition);
                     } else {
                         // with EOS, if the previous run did not shutdown gracefully, we may lost the checkpoint file