Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
improve approval tracing (#3846)
Browse files Browse the repository at this point in the history
* improve approval tracing

* Update node/core/approval-voting/src/import.rs

* Update node/core/approval-voting/src/import.rs

Co-authored-by: Andronik Ordian <[email protected]>
  • Loading branch information
rphmeier and ordian authored Sep 15, 2021
1 parent f33ecdb commit 7e7506e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/core/approval-voting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ async fn handle_from_overseer(
Ok(block_imported_candidates) => {
// Schedule wakeups for all imported candidates.
for block_batch in block_imported_candidates {
tracing::debug!(
tracing::trace!(
target: LOG_TARGET,
block_hash = ?block_batch.block_hash,
num_candidates = block_batch.imported_candidates.len(),
Expand Down Expand Up @@ -2410,7 +2410,7 @@ async fn issue_approval(
)
.expect("Statement just signed; should pass checks; qed");

tracing::debug!(
tracing::trace!(
target: LOG_TARGET,
?candidate_hash,
?block_hash,
Expand Down

0 comments on commit 7e7506e

Please sign in to comment.