Skip to content

Commit

Permalink
More log clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEntangledAndy committed Apr 27, 2024
1 parent e8aca0e commit 366c2a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core/src/bc_protocol/connection/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Discoverer {
tokio::task::yield_now().await;
match reader.next().await {
Some(Ok((BcUdp::Discovery(bcudp), addr))) => {
log::info!("Got discovery {:?} for {}", bcudp, addr);
log::trace!("Got discovery {:?} for {}", bcudp, addr);
let tid = bcudp.tid;
let mut needs_removal = false;
if let (Some(sender), true) =
Expand All @@ -159,7 +159,7 @@ impl Discoverer {
}
Some(Ok(bcudp)) => {
// Only discovery packets should be possible atm
log::info!("Got non Discovery during discovery: {:?}", bcudp);
log::debug!("Got non Discovery during discovery: {:?}", bcudp);
}
Some(Err(e)) => {
log::error!("Error on discovery socket: {:?}", e);
Expand Down

0 comments on commit 366c2a4

Please sign in to comment.