Less verbosity (#546)

This commit is contained in:
Gav Wood
2018-08-13 17:52:54 +02:00
committed by Robert Habermeier
parent c346af29e0
commit c7548977c3
2 changed files with 5 additions and 5 deletions
@@ -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 {
@@ -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>) {