From f74c838697ec44e332de46a9e3984263327f9077 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 10 May 2022 17:45:02 -0400 Subject: [PATCH] chore: move commit store logs to Debug level --- store/rootmulti/store.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/store/rootmulti/store.go b/store/rootmulti/store.go index 98ce593c585..1a36b3066b0 100644 --- a/store/rootmulti/store.go +++ b/store/rootmulti/store.go @@ -425,9 +425,9 @@ func (rs *Store) Commit() types.CommitID { } rs.mx.RLock() - hash, keys := rs.lastCommitInfo.Hash() defer rs.mx.RUnlock() - rs.logger.Info("calculated commit hash", "height", version, "commit_hash", fmt.Sprintf("%X", hash), "keys", keys) + hash, keys := rs.lastCommitInfo.Hash() + rs.logger.Debug("calculated commit hash", "height", version, "commit_hash", fmt.Sprintf("%X", hash), "keys", keys) return types.CommitID{ Version: version, @@ -986,7 +986,7 @@ func (rs *Store) commitStores(version int64, storeMap map[types.StoreKey]types.C for key, store := range storeMap { commitID := store.Commit() - rs.logger.Info("committed KVStore", "height", commitID.Version, "key", key.Name(), "commit_store_hash", fmt.Sprintf("%X", commitID.Hash)) + rs.logger.Debug("committed KVStore", "height", commitID.Version, "key", key.Name(), "commit_store_hash", fmt.Sprintf("%X", commitID.Hash)) if store.GetStoreType() == types.StoreTypeTransient { continue