From b9cdd0e28eb2c10f82a401b37c50dec0ab711c23 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 4 Mar 2021 14:47:42 +0000 Subject: [PATCH] indexer: remove info log (#6194) Co-authored-by: Aleksandr Bezobchuk Co-authored-by: Marko --- state/execution.go | 2 +- state/txindex/indexer_service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/state/execution.go b/state/execution.go index 433444d5f..2cc3db6e7 100644 --- a/state/execution.go +++ b/state/execution.go @@ -167,7 +167,7 @@ func (blockExec *BlockExecutor) ApplyBlock( return state, 0, err } if len(validatorUpdates) > 0 { - blockExec.logger.Info("updates to validators", "updates", types.ValidatorListString(validatorUpdates)) + blockExec.logger.Debug("updates to validators", "updates", types.ValidatorListString(validatorUpdates)) } // Update the state with the block and responses. diff --git a/state/txindex/indexer_service.go b/state/txindex/indexer_service.go index 961269d23..7758d6356 100644 --- a/state/txindex/indexer_service.go +++ b/state/txindex/indexer_service.go @@ -67,7 +67,7 @@ func (is *IndexerService) OnStart() error { if err = is.idr.AddBatch(batch); err != nil { is.Logger.Error("Failed to index block", "height", height, "err", err) } else { - is.Logger.Info("Indexed block", "height", height) + is.Logger.Debug("indexed block", "height", height) } } }()