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 authored and GitHub committed 2021-10-06 17:00:51 +00:00
1 parent 7f3cfa124e
commit 57a99c960f
5 files changed
+36 -29

No files matched your search

@@ -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,