Skip to content

Commit

Permalink
Improve logging during public recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton committed Nov 22, 2024
1 parent 7d7abea commit 1e60d71
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/node/node_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,10 @@ namespace ccf
{
auto entry = ::consensus::LedgerEnclave::get_entry(data, size);

LOG_INFO_FMT("Deserialising public ledger entry [{}]", entry.size());
LOG_INFO_FMT(
"Deserialising public ledger entry #{} [{} bytes]",
last_recovered_idx,
entry.size());

// When reading the private ledger, deserialise in the recovery store

Expand Down

0 comments on commit 1e60d71

Please sign in to comment.