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

grandpa: change some logging from trace to debug #6872

Merged
2 commits merged into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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