From 85c1ccd5e058258ede365773eb5f6e78fd4adabe Mon Sep 17 00:00:00 2001 From: Marcel Moura <5615598+marcelstanley@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:51:01 -0300 Subject: [PATCH] chore(authority-claimer): adjust log levels --- offchain/authority-claimer/src/claimer.rs | 4 ++-- offchain/authority-claimer/src/listener.rs | 4 ++-- offchain/authority-claimer/src/sender.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/offchain/authority-claimer/src/claimer.rs b/offchain/authority-claimer/src/claimer.rs index ae9ec7b9c..2119c3ed5 100644 --- a/offchain/authority-claimer/src/claimer.rs +++ b/offchain/authority-claimer/src/claimer.rs @@ -96,7 +96,7 @@ where .listen() .await .context(BrokerListenerSnafu)?; - debug!("Got a claim from the broker: {:?}", rollups_claim); + info!("Received claim from the broker: {:?}", rollups_claim); let is_duplicated_rollups_claim = self .duplicate_checker @@ -108,7 +108,7 @@ where continue; } - info!("Sending a new rollups claim"); + info!("Sending a new rollups claim transaction"); self.transaction_sender = self .transaction_sender .send_rollups_claim_transaction(rollups_claim) diff --git a/offchain/authority-claimer/src/listener.rs b/offchain/authority-claimer/src/listener.rs index 992611908..3d20b4a1f 100644 --- a/offchain/authority-claimer/src/listener.rs +++ b/offchain/authority-claimer/src/listener.rs @@ -41,7 +41,7 @@ impl DefaultBrokerListener { chain_id: u64, dapp_address: Address, ) -> Result { - tracing::trace!("Connecting to the broker ({:?})", broker_config); + tracing::info!("Connecting to the broker ({:?})", broker_config); let broker = Broker::new(broker_config).await?; let dapp_metadata = DAppMetadata { chain_id, @@ -94,7 +94,7 @@ impl MultidappBrokerListener { broker_config: BrokerConfig, chain_id: u64, ) -> Result { - tracing::trace!( + tracing::info!( "Connecting to the broker ({:?}) on multidapp mode", broker_config ); diff --git a/offchain/authority-claimer/src/sender.rs b/offchain/authority-claimer/src/sender.rs index 428e45574..70997f921 100644 --- a/offchain/authority-claimer/src/sender.rs +++ b/offchain/authority-claimer/src/sender.rs @@ -260,7 +260,7 @@ impl TransactionSender for DefaultTransactionSender { dapp_address, }) .inc(); - trace!("Claim transaction confirmed: `{:?}`", receipt); + info!("Claim transaction confirmed: `{:?}`", receipt); Ok(Self { tx_manager, ..self }) }