From 6410d02bb8b43ca75bc0a9448cd5874d11bb3007 Mon Sep 17 00:00:00 2001 From: Roman Krasiuk Date: Fri, 24 Feb 2023 10:47:17 +0200 Subject: [PATCH] chore(cli): raise the log level for tip lookup (#1538) --- bin/reth/src/node/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/reth/src/node/mod.rs b/bin/reth/src/node/mod.rs index 10a83e7c4f..d2e9e3131c 100644 --- a/bin/reth/src/node/mod.rs +++ b/bin/reth/src/node/mod.rs @@ -367,15 +367,15 @@ impl Command { tip: H256, ) -> Result { if let Some(number) = db.view(|tx| tx.get::(tip))?? { - debug!(target: "reth::cli", ?tip, number, "Successfully looked up tip in the database"); + info!(target: "reth::cli", ?tip, number, "Successfully looked up tip block number in the database"); return Ok(number) } - debug!(target: "reth::cli", ?tip, "Fetching tip header from the network."); + info!(target: "reth::cli", ?tip, "Fetching tip block number from the network."); loop { match get_single_header(fetch_client.clone(), BlockHashOrNumber::Hash(tip)).await { Ok(tip_header) => { - debug!(target: "reth::cli", ?tip, number = tip_header.number, "Successfully fetched tip"); + info!(target: "reth::cli", ?tip, number = tip_header.number, "Successfully fetched tip block number"); return Ok(tip_header.number) } Err(error) => {