Silence some alerts due to overly verbose warnings. (#3946)

* statement-distribution: Only warn on relevant stuff.

* Silence warnings in availability-distribution.

* Demote more warnings.

* More consistency.

* info -> debug
This commit is contained in:
Robert Klotzner
2021-10-06 19:00:51 +02:00
committed by GitHub
parent 7f3cfa124e
commit 57a99c960f
5 changed files with 36 additions and 29 deletions
@@ -1362,7 +1362,7 @@ where
.await;
},
Err(RequestError::NetworkError(err)) => {
tracing::warn!(
tracing::debug!(
target: LOG_TARGET,
hash = ?pending_collation.relay_parent,
para_id = ?pending_collation.para_id,
@@ -1377,7 +1377,7 @@ where
modify_reputation(ctx, pending_collation.peer_id.clone(), COST_NETWORK_ERROR).await;
},
Err(RequestError::Canceled(_)) => {
tracing::warn!(
tracing::debug!(
target: LOG_TARGET,
hash = ?pending_collation.relay_parent,
para_id = ?pending_collation.para_id,