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 5cf28ad0f RATIS-2346. SimpleStateMachineStorage prints too many log
messages. (#1302)
5cf28ad0f is described below
commit 5cf28ad0f1e99e213eb3886f9d3099dbd6111976
Author: Tsz-Wo Nicholas Sze <[email protected]>
AuthorDate: Mon Oct 20 07:56:54 2025 -0700
RATIS-2346. SimpleStateMachineStorage prints too many log messages. (#1302)
---
.../org/apache/ratis/statemachine/impl/SimpleStateMachineStorage.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/ratis-server/src/main/java/org/apache/ratis/statemachine/impl/SimpleStateMachineStorage.java
b/ratis-server/src/main/java/org/apache/ratis/statemachine/impl/SimpleStateMachineStorage.java
index 2552c33c2..0ca6734a0 100644
---
a/ratis-server/src/main/java/org/apache/ratis/statemachine/impl/SimpleStateMachineStorage.java
+++
b/ratis-server/src/main/java/org/apache/ratis/statemachine/impl/SimpleStateMachineStorage.java
@@ -227,7 +227,7 @@ public class SimpleStateMachineStorage implements
StateMachineStorage {
}
try {
final SingleFileSnapshotInfo latest =
updateLatestSnapshot(findLatestSnapshot(dir.toPath()));
- LOG.info("Latest snapshot is {} in {}", latest, dir);
+ LOG.debug("Latest snapshot is {} in {}", latest, dir);
return latest;
} catch (IOException e) {
LOG.warn("Failed to updateLatestSnapshot from {}", dir, e);