From c7548977c3475fb20cd475ffd2ac0b64831181b0 Mon Sep 17 00:00:00 2001 From: Gav Wood <github@gavwood.com> Date: Mon, 13 Aug 2018 17:52:54 +0200 Subject: [PATCH] Less verbosity (#546) --- substrate/polkadot/transaction-pool/src/lib.rs | 4 ++-- substrate/substrate/extrinsic-pool/src/listener.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/substrate/polkadot/transaction-pool/src/lib.rs b/substrate/polkadot/transaction-pool/src/lib.rs index 447d97d0045..d76eae57cbd 100644 --- a/substrate/polkadot/transaction-pool/src/lib.rs +++ b/substrate/polkadot/transaction-pool/src/lib.rs @@ -298,9 +298,9 @@ impl<'a, A> txpool::Verifier<UncheckedExtrinsic> for Verifier<'a, A> where let sender = inner.as_ref().map(|x| x.signed.clone()); if encoded_size < 1024 { - info!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt); + debug!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt); } else { - info!(target: "transaction-pool", "Transaction verified: {} ({} bytes is too large to display)", hash, encoded_size); + debug!(target: "transaction-pool", "Transaction verified: {} ({} bytes is too large to display)", hash, encoded_size); } Ok(VerifiedTransaction { diff --git a/substrate/substrate/extrinsic-pool/src/listener.rs b/substrate/substrate/extrinsic-pool/src/listener.rs index 6bf110e55f9..5b8f4106e68 100644 --- a/substrate/substrate/extrinsic-pool/src/listener.rs +++ b/substrate/substrate/extrinsic-pool/src/listener.rs @@ -76,15 +76,15 @@ impl<H, T> txpool::Listener<T> for Listener<H> where } fn rejected(&mut self, tx: &Arc<T>, reason: &txpool::ErrorKind) { - warn!("Extrinsic rejected ({}): {:?}", reason, tx); + warn!(target: "extrinsic-pool", "Extrinsic rejected ({}): {:?}", reason, tx); } fn invalid(&mut self, tx: &Arc<T>) { - warn!("Extrinsic invalid: {:?}", tx); + warn!(target: "extrinsic-pool", "Extrinsic invalid: {:?}", tx); } fn canceled(&mut self, tx: &Arc<T>) { - warn!("Extrinsic canceled: {:?}", tx); + debug!(target: "extrinsic-pool", "Extrinsic canceled: {:?}", tx); } fn mined(&mut self, tx: &Arc<T>) { -- GitLab