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 { .. } => {
|
PendingCatchUp::Processing { .. } => {
|
||||||
self.pending_catch_up = PendingCatchUp::None;
|
self.pending_catch_up = PendingCatchUp::None;
|
||||||
},
|
},
|
||||||
state => trace!(target: "afg",
|
state => debug!(target: "afg",
|
||||||
"Noted processed catch up message when state was: {:?}",
|
"Noted processed catch up message when state was: {:?}",
|
||||||
state,
|
state,
|
||||||
),
|
),
|
||||||
@@ -1043,7 +1043,7 @@ impl<Block: BlockT> Inner<Block> {
|
|||||||
let (catch_up_allowed, catch_up_report) = self.note_catch_up_request(who, &request);
|
let (catch_up_allowed, catch_up_report) = self.note_catch_up_request(who, &request);
|
||||||
|
|
||||||
if catch_up_allowed {
|
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,
|
round,
|
||||||
who,
|
who,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
use std::{sync::Arc, collections::HashMap};
|
use std::{sync::Arc, collections::HashMap};
|
||||||
|
|
||||||
use log::{debug, trace};
|
use log::debug;
|
||||||
use parity_scale_codec::Encode;
|
use parity_scale_codec::Encode;
|
||||||
use parking_lot::RwLockWriteGuard;
|
use parking_lot::RwLockWriteGuard;
|
||||||
|
|
||||||
@@ -527,7 +527,7 @@ impl<BE, Block: BlockT, Client, SC> BlockImport<Block>
|
|||||||
},
|
},
|
||||||
None => {
|
None => {
|
||||||
if needs_justification {
|
if needs_justification {
|
||||||
trace!(
|
debug!(
|
||||||
target: "afg",
|
target: "afg",
|
||||||
"Imported unjustified block #{} that enacts authority set change, waiting for finality for enactment.",
|
"Imported unjustified block #{} that enacts authority set change, waiting for finality for enactment.",
|
||||||
number,
|
number,
|
||||||
|
|||||||
Reference in New Issue
Block a user