More log clean up

This commit is contained in:
QuantumEntangledAndy committed 2024-04-27 15:17:07 +07:00
1 parent e8aca0ee10
commit 366c2a4b69
1 file changed
+2 -2
@@ -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) =
@@ -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);