From 1e60d719aad2f370eb44625e33eb2ba3ded0e67d Mon Sep 17 00:00:00 2001 From: Eddy Ashton Date: Fri, 22 Nov 2024 15:59:11 +0000 Subject: [PATCH] Improve logging during public recovery --- src/node/node_state.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/node/node_state.h b/src/node/node_state.h index 20323ac2971..cd5aa882c44 100644 --- a/src/node/node_state.h +++ b/src/node/node_state.h @@ -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