enhance test.py and metrics.py

This commit is contained in:
CJ Cobb
2021-03-22 11:12:07 -04:00
parent 4fc44c5ac8
commit 2ef28ff9be
4 changed files with 126 additions and 36 deletions

View File

@@ -441,7 +441,7 @@ public:
call(stub, cq);
}
BOOST_LOG_TRIVIAL(info) << "Writing objects";
BOOST_LOG_TRIVIAL(trace) << "Writing objects";
for (auto& obj : *(cur_->mutable_ledger_objects()->mutable_objects()))
{
std::optional<ripple::uint256> book;
@@ -465,7 +465,7 @@ public:
false,
std::move(book));
}
BOOST_LOG_TRIVIAL(info) << "Wrote objects";
BOOST_LOG_TRIVIAL(trace) << "Wrote objects";
return more ? CallStatus::MORE : CallStatus::DONE;
}

View File

@@ -246,8 +246,8 @@ ReportingETL::fetchLedgerDataAndDiff(uint32_t idx)
std::pair<ripple::LedgerInfo, bool>
ReportingETL::buildNextLedger(org::xrpl::rpc::v1::GetLedgerResponse& rawData)
{
BOOST_LOG_TRIVIAL(info) << __func__ << " : "
<< "Beginning ledger update";
BOOST_LOG_TRIVIAL(trace) << __func__ << " : "
<< "Beginning ledger update";
ripple::LedgerInfo lgrInfo =
deserializeHeader(ripple::makeSlice(rawData.ledger_header()));