Browse Source

indexer: remove info log (#6194)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
pull/6216/head
mergify[bot] 4 years ago
committed by GitHub
parent
commit
b9cdd0e28e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      state/execution.go
  2. +1
    -1
      state/txindex/indexer_service.go

+ 1
- 1
state/execution.go View File

@ -167,7 +167,7 @@ func (blockExec *BlockExecutor) ApplyBlock(
return state, 0, err return state, 0, err
} }
if len(validatorUpdates) > 0 { 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. // Update the state with the block and responses.


+ 1
- 1
state/txindex/indexer_service.go View File

@ -67,7 +67,7 @@ func (is *IndexerService) OnStart() error {
if err = is.idr.AddBatch(batch); err != nil { if err = is.idr.AddBatch(batch); err != nil {
is.Logger.Error("Failed to index block", "height", height, "err", err) is.Logger.Error("Failed to index block", "height", height, "err", err)
} else { } else {
is.Logger.Info("Indexed block", "height", height)
is.Logger.Debug("indexed block", "height", height)
} }
} }
}() }()


Loading…
Cancel
Save