From 96844bc6c8c10e360acb87f1aeee2b4d780afc6f Mon Sep 17 00:00:00 2001 From: lukemartinlogan Date: Wed, 20 May 2026 07:42:28 +0000 Subject: [PATCH] Demote DumpNetStatsIfDue per-peer + TOTAL HLOGs to kDebug These two HLOG lines in DumpNetStatsIfDue fire once per second under the periodic-stats timer (kNetStatsDumpIntervalSec = 1.0) and clutter normal-verbosity logs with NetStats counters that are only useful when actively profiling cross-node traffic. Closes #424 --- context-runtime/modules/admin/src/admin_runtime.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/context-runtime/modules/admin/src/admin_runtime.cc b/context-runtime/modules/admin/src/admin_runtime.cc index e49fe46ee..0e3ac4bc1 100644 --- a/context-runtime/modules/admin/src/admin_runtime.cc +++ b/context-runtime/modules/admin/src/admin_runtime.cc @@ -137,7 +137,7 @@ static inline void DumpNetStatsIfDue(chi::u64 self_node_id, size_t num_peers) { s.rout_count == 0) { continue; } - HLOG(kInfo, + HLOG(kDebug, "[NetStats] self={} peer={} sin={}/{}MiB sout={}/{}MiB " "rin={}/{}MiB rout={}/{}MiB " "sin_lbm_ms={:.1f} sout_lbm_ms={:.1f} " @@ -163,7 +163,7 @@ static inline void DumpNetStatsIfDue(chi::u64 self_node_id, size_t num_peers) { tot_rin_des += s.rin_des_ns; tot_rout_des += s.rout_des_ns; } - HLOG(kInfo, + HLOG(kDebug, "[NetStats] self={} TOTAL sin={}/{}MiB sout={}/{}MiB " "rin={}/{}MiB rout={}/{}MiB " "sin_lbm_ms={:.1f} sout_lbm_ms={:.1f} "