Logging level overhaul: reduce verbosity at info and debug levels

Per-packet happy-path events (UDP send/receive, TUN I/O, MMP report
processing, TreeAnnounce/FilterAnnounce sent, RTT samples) moved from
debug to trace. Periodic maintenance and retry scheduling moved from
info to debug. Session state changes (established, initiated, torn
down) and transport stop promoted from debug to info. MMP report send
failures demoted from warn to debug (normal under churn).
This commit is contained in:
Johnathan Corgan
2026-02-19 04:15:08 +00:00
parent c5c7e68a6e
commit ab7a4bac29
9 changed files with 44 additions and 44 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ use crate::NodeAddr;
use super::{Node, NodeError};
use std::collections::HashMap;
use tracing::{debug, info};
use tracing::{debug, trace};
impl Node {
/// Collect inbound filters from all peers for outgoing filter computation.
@@ -77,7 +77,7 @@ impl Node {
peer.clear_filter_update_needed();
}
debug!(peer = %peer_addr, seq = announce.sequence, "Sent FilterAnnounce");
trace!(peer = %peer_addr, seq = announce.sequence, "Sent FilterAnnounce");
Ok(())
}
@@ -161,7 +161,7 @@ impl Node {
peer.update_filter(announce.filter, announce.sequence, now_ms);
}
info!(
debug!(
from = %from,
seq = announce.sequence,
"Received FilterAnnounce"