Skip to content

Commit

Permalink
Reduce logging verbosity when disconnecting an unknown peer (parityte…
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin authored and nathanwhit committed Jul 19, 2023
1 parent bb3e182 commit e5ba34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/network/src/protocol_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
use futures::{channel::oneshot, future::Either, FutureExt, StreamExt};
use libp2p::PeerId;
use log::{error, trace, warn};
use log::{debug, error, trace, warn};
use sc_utils::mpsc::{tracing_unbounded, TracingUnboundedReceiver, TracingUnboundedSender};
use sp_arithmetic::traits::SaturatedConversion;
use std::{
Expand Down Expand Up @@ -530,7 +530,7 @@ impl ProtocolController {
self.drop_connection(peer_id);
},
None => {
warn!(
debug!(
target: LOG_TARGET,
"Trying to disconnect unknown peer {} from {:?}.", peer_id, self.set_id,
);
Expand Down

0 comments on commit e5ba34d

Please sign in to comment.