[network] Extend Notifications logs with SetId where missing (#14406)

* Extend `Notifications` logs with `SetId` where missing

* Downgrade "Ignoring request to disconnect reserved peer"

* minor: log formatting
This commit is contained in:
Dmitry Markin
2023-06-16 20:01:26 +03:00
committed by GitHub
parent 18df38a4b6
commit 4652eaeef8
2 changed files with 7 additions and 7 deletions
@@ -513,7 +513,7 @@ impl ProtocolController {
fn on_disconnect_peer(&mut self, peer_id: PeerId) {
// Don't do anything if the node is reserved.
if self.reserved_nodes.contains_key(&peer_id) {
warn!(
debug!(
target: LOG_TARGET,
"Ignoring request to disconnect reserved peer {} from {:?}.", peer_id, self.set_id,
);