Skip to content

Commit

Permalink
modify revert log
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust committed Aug 28, 2024
1 parent 97d00aa commit 35e9faa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bcos-executor/src/executive/TransactionExecutive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ void TransactionExecutive::setPrecompiled(std::shared_ptr<PrecompiledMap> _preco

void TransactionExecutive::revert()
{
EXECUTOR_BLK_LOG(INFO, m_blockContext.number())
EXECUTOR_BLK_LOG(DEBUG, m_blockContext.number())
<< "Revert transaction" << LOG_KV("contextID", m_contextID) << LOG_KV("seq", m_seq);

if (m_blockContext.features().get(ledger::Features::Flag::bugfix_revert))
Expand Down
4 changes: 2 additions & 2 deletions bcos-table/src/KeyPageStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,8 +847,8 @@ auto KeyPageStorage::setEntryToPage(
{
// table is delete to empty, insert a new key
// which is an old pageKey then will read the wrong page
KeyPage_LOG(INFO) << LOG_DESC("empty table") << LOG_KV("table", table)
<< LOG_KV("key", toHex(key));
KeyPage_LOG(DEBUG) << LOG_DESC("empty table") << LOG_KV("table", table)
<< LOG_KV("key", toHex(key));
auto newData = std::make_shared<Data>();
newData->table = table;
newData->key = key;
Expand Down

0 comments on commit 35e9faa

Please sign in to comment.