Demote 35 info-level log messages to debug for cleaner production output

Reduce info-level noise by moving intermediate steps, periodic
telemetry, cross-connection resolution details, and redundant messages
to debug. Info output now focuses on operator-relevant state changes:
lifecycle events, peer promotions, session establishment, parent
switches, and transport start/stop.

Key categories demoted:
- Handshake cross-connection resolution mechanics (10 messages)
- Periodic MMP link/session metric reports (4 messages)
- TUN cleanup messages redundant with lifecycle shutdown (4 messages)
- Transport "packet channel closed" shutdown messages (4 messages)
- Retry scheduling, discovery lookup initiation, other intermediate steps

Change default RUST_LOG from debug to info in systemd unit files.
This commit is contained in:
Johnathan Corgan
2026-03-23 04:11:57 +00:00
parent 0ff3f029ed
commit b8fbecc575
19 changed files with 45 additions and 45 deletions
+2 -2
View File
@@ -171,7 +171,7 @@ impl Node {
state.retry_count += 1;
let delay = state.backoff_ms(base_interval_ms, max_backoff_ms);
state.retry_after_ms = now_ms + delay;
info!(
debug!(
peer = %peer_name,
retry = state.retry_count,
delay_secs = delay / 1000,
@@ -185,7 +185,7 @@ impl Node {
let delay = state.backoff_ms(base_interval_ms, max_backoff_ms);
state.retry_after_ms = now_ms + delay;
info!(
debug!(
peer = %peer_name,
delay_secs = delay / 1000,
"Scheduling auto-reconnect after link-dead removal"