Skip to content

Commit

Permalink
chore(networking): move two listener lines to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Jun 9, 2024
1 parent f5475df commit d67da92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sn_networking/src/event/swarm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ impl SwarmDriver {

// Do not use an `already relayed` peer as `potential relay candidate`.
if !has_relayed && !is_bootstrap_peer {
debug!("Adding candidate relay server {peer_id:?}, it's not a bootstrap node");
self.relay_manager.add_potential_candidates(
&peer_id,
&addrs,
Expand Down Expand Up @@ -578,8 +579,8 @@ impl SwarmDriver {
}
let all_external_addresses = self.swarm.external_addresses().collect_vec();
let all_listeners = self.swarm.listeners().collect_vec();
debug!("All our listeners: {all_listeners:?}");
debug!("All our external addresses: {all_external_addresses:?}");
trace!("All our listeners: {all_listeners:?}");
trace!("All our external addresses: {all_external_addresses:?}");
}
SwarmEvent::ExternalAddrConfirmed { address } => {
event_string = "ExternalAddrConfirmed";
Expand Down

0 comments on commit d67da92

Please sign in to comment.