mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-01 02:11:01 +00:00
grandpa: change some logging from trace to debug (#6872)
* grandpa: change some logging from trace to debug * grandpa: cleanup unused import
This commit is contained in:
@@ -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,
|
||||
),
|
||||
@@ -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,
|
||||
);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user