Skip to content

fix: stop the status service from flooding the log (v0.4.1) - #66

Merged
bigmoby merged 1 commit into
mainfrom
fix/status-log
Oct 9, 2026
Merged

bigmoby merged 1 commit into
mainfrom
fix/status-log

Conversation

@bigmoby

@bigmoby bigmoby commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Summary

Release v0.4.1.

The status service printed wg show to the log every ~30 seconds: the script exited after each run and s6 restarted it. Now the service never exits and the output depends on log_level:

log_level WireGuard status in the log
trace, debug Once after 30 s, then every 30 s
info (default) Once, 30 s after startup
notice and above Never

Changes

  • services.d/status/run: new logic described above.
  • DOCS.md: new Logging section (log_level, status output, iptables backend log); Local Development updated for the 5-apps devcontainer (it still referenced the removed devcontainer_bootstrap).
  • config.yaml: version 0.4.1; CHANGELOG.md entry.

Test plan

  • shellcheck
  • Status script run on the published 0.4.0 image with a mocked wg, 3.5 intervals per level: notice → 0 prints, info → 1 print, debug → 3 prints; the service keeps running in all cases
  • CI
  • Publish right after merge (the Supervisor shows the update as soon as config.yaml on main says 0.4.1)

The status service exited after printing `wg show`, so s6 restarted it
every ~30 seconds. It now logs the WireGuard status once at startup with
log_level info, periodically only with debug/trace, and never with
notice or higher; the service no longer exits.

- docs: new Logging section, updated Local Development section
- bump version to 0.4.1 and add changelog
@bigmoby
bigmoby merged commit 2bfd963 into main Oct 9, 2026
4 checks passed
@bigmoby
bigmoby deleted the fix/status-log branch October 9, 2026 18:04
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.

1 participant