indexer: remove info log (#6194)

## Description

Replace info log with Debug.
This commit is contained in:
Marko
2021-03-02 17:18:39 +00:00
committed by GitHub
parent 36d92cd0b6
commit 0d0181856b
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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)
}
}
}()