Skip to content

Commit

Permalink
grandpa: change some logging from trace to debug (paritytech#6872)
Browse files Browse the repository at this point in the history
* grandpa: change some logging from trace to debug

* grandpa: cleanup unused import
  • Loading branch information
andresilva authored Aug 11, 2020
1 parent 6f57582 commit 4064378
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/finality-grandpa/src/communication/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ impl<Block: BlockT> Inner<Block> {
PendingCatchUp::Processing { .. } => {
self.pending_catch_up = PendingCatchUp::None;
},
state => trace!(target: "afg",
state => debug!(target: "afg",
"Noted processed catch up message when state was: {:?}",
state,
),
Expand Down Expand Up @@ -1043,7 +1043,7 @@ impl<Block: BlockT> Inner<Block> {
let (catch_up_allowed, catch_up_report) = self.note_catch_up_request(who, &request);

if catch_up_allowed {
trace!(target: "afg", "Sending catch-up request for round {} to {}",
debug!(target: "afg", "Sending catch-up request for round {} to {}",
round,
who,
);
Expand Down
4 changes: 2 additions & 2 deletions client/finality-grandpa/src/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

use std::{sync::Arc, collections::HashMap};

use log::{debug, trace};
use log::debug;
use parity_scale_codec::Encode;
use parking_lot::RwLockWriteGuard;

Expand Down Expand Up @@ -527,7 +527,7 @@ impl<BE, Block: BlockT, Client, SC> BlockImport<Block>
},
None => {
if needs_justification {
trace!(
debug!(
target: "afg",
"Imported unjustified block #{} that enacts authority set change, waiting for finality for enactment.",
number,
Expand Down

0 comments on commit 4064378

Please sign in to comment.