Skip to content

Demote DumpNetStats HLOGs to kDebug#425

Merged
1 commit merged into
mainfrom
424-netstats-log-kdebug
May 21, 2026
Merged

Demote DumpNetStats HLOGs to kDebug#425
1 commit merged into
mainfrom
424-netstats-log-kdebug

Conversation

@lukemartinlogan
Copy link
Copy Markdown
Contributor

Summary

  • context-runtime/modules/admin/src/admin_runtime.cc:140 and :166: HLOG(kInfo, ...)HLOG(kDebug, ...).

Motivation

Closes #424. DumpNetStatsIfDue fires once per second under kNetStatsDumpIntervalSec = 1.0 and the two [NetStats] lines (per-peer + TOTAL) flood normal-verbosity logs. Useful when profiling cross-node traffic but not at default verbosity.

Test plan

  • grep 'HLOG(kInfo' admin_runtime.cc no longer hits lines 140/166
  • CI build + tests green

Breaking changes

None — strictly a verbosity reduction.

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
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
context-runtime/modules/admin/src/admin_runtime.cc 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@lukemartinlogan lukemartinlogan closed this pull request by merging all changes into main in 09114c7 May 21, 2026
@lukemartinlogan lukemartinlogan deleted the 424-netstats-log-kdebug branch May 22, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Demote DumpNetStatsIfDue HLOG from kInfo to kDebug

1 participant