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

@@ -344,7 +344,7 @@ impl RunningTask {
Err(TaskError::PeerError)
},
Err(RequestError::NetworkError(err)) => {
tracing::warn!(
tracing::debug!(
target: LOG_TARGET,
origin= ?validator,
err= ?err,
@@ -353,7 +353,7 @@ impl RunningTask {
Err(TaskError::PeerError)
},
Err(RequestError::Canceled(oneshot::Canceled)) => {
tracing::warn!(target: LOG_TARGET,
tracing::debug!(target: LOG_TARGET,
origin= ?validator,
"Erasure chunk request got canceled");
Err(TaskError::PeerError)