Browse Source

indexer: remove info log (#6194)

## Description

Replace info log with Debug.
pull/6197/head
Marko 4 years ago
committed by GitHub
parent
commit
0d0181856b
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