From 35e9faa2697d564516669a37acf0b9b8aa2ed33e Mon Sep 17 00:00:00 2001 From: bxq2011hust Date: Wed, 28 Aug 2024 09:53:16 +0800 Subject: [PATCH] modify revert log --- bcos-executor/src/executive/TransactionExecutive.cpp | 2 +- bcos-table/src/KeyPageStorage.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bcos-executor/src/executive/TransactionExecutive.cpp b/bcos-executor/src/executive/TransactionExecutive.cpp index 68acb1f79b..93acdf1e92 100644 --- a/bcos-executor/src/executive/TransactionExecutive.cpp +++ b/bcos-executor/src/executive/TransactionExecutive.cpp @@ -1380,7 +1380,7 @@ void TransactionExecutive::setPrecompiled(std::shared_ptr _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)) diff --git a/bcos-table/src/KeyPageStorage.cpp b/bcos-table/src/KeyPageStorage.cpp index 3de241b3af..695fd1b6d7 100644 --- a/bcos-table/src/KeyPageStorage.cpp +++ b/bcos-table/src/KeyPageStorage.cpp @@ -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(); newData->table = table; newData->key = key;