Skip to content
Snippets Groups Projects
Commit c7548977 authored by Gav Wood's avatar Gav Wood Committed by asynchronous rob
Browse files

Less verbosity (#546)

parent c346af29
Branches
No related merge requests found
...@@ -298,9 +298,9 @@ impl<'a, A> txpool::Verifier<UncheckedExtrinsic> for Verifier<'a, A> where ...@@ -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()); let sender = inner.as_ref().map(|x| x.signed.clone());
if encoded_size < 1024 { if encoded_size < 1024 {
info!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt); debug!(target: "transaction-pool", "Transaction verified: {} => {:?}", hash, uxt);
} else { } 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 { Ok(VerifiedTransaction {
......
...@@ -76,15 +76,15 @@ impl<H, T> txpool::Listener<T> for Listener<H> where ...@@ -76,15 +76,15 @@ impl<H, T> txpool::Listener<T> for Listener<H> where
} }
fn rejected(&mut self, tx: &Arc<T>, reason: &txpool::ErrorKind) { 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>) { 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>) { 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>) { fn mined(&mut self, tx: &Arc<T>) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment