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:
Aiden X 2020-11-05 16:19:17 +08:00 committed by GitHub
commit 43b41c7063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

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