Merge pull request #238 from meshplus/refactor/change-exe-log-level
refactor(executor): change some executor logs' level to debug
This commit is contained in:
commit
43b41c7063
|
@ -156,7 +156,7 @@ func (exec *BlockExecutor) listenExecuteEvent() {
|
|||
"height": block.BlockHeader.Number,
|
||||
"count": len(block.Transactions),
|
||||
"elapse": time.Since(now),
|
||||
}).Infof("Executed block")
|
||||
}).Info("Executed block")
|
||||
exec.persistC <- blockData
|
||||
case <-exec.ctx.Done():
|
||||
return
|
||||
|
@ -215,7 +215,7 @@ func (exec *BlockExecutor) persistData() {
|
|||
"hash": data.Block.BlockHash.ShortString(),
|
||||
"count": len(data.Block.Transactions),
|
||||
"elapse": time.Since(now),
|
||||
}).Info("Persisted block")
|
||||
}).Debug("Persisted block")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ func (exec *BlockExecutor) listenPreExecuteEvent() {
|
|||
"height": block.BlockHeader.Number,
|
||||
"count": len(block.Transactions),
|
||||
"elapse": time.Since(now),
|
||||
}).Infof("Verified signature")
|
||||
}).Debug("Verified signature")
|
||||
exec.blockC <- block
|
||||
case <-exec.ctx.Done():
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue