mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 20:01:08 +00:00
core: network: reduce log level of peer drop messages (#2125)
This commit is contained in:
@@ -533,11 +533,11 @@ fn run_thread<B: BlockT + 'static>(
|
||||
network_service_2.lock().drop_node(&who)
|
||||
},
|
||||
Severity::Useless(message) => {
|
||||
info!(target: "sync", "Dropping {:?} because {:?}", who, message);
|
||||
debug!(target: "sync", "Dropping {:?} because {:?}", who, message);
|
||||
network_service_2.lock().drop_node(&who)
|
||||
},
|
||||
Severity::Timeout => {
|
||||
info!(target: "sync", "Dropping {:?} because it timed out", who);
|
||||
debug!(target: "sync", "Dropping {:?} because it timed out", who);
|
||||
network_service_2.lock().drop_node(&who)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user