Skip to content

v0.9.9 — Logs

Choose a tag to compare

@brendan4linux brendan4linux released this 14 Jul 00:42
· 3 commits to main since this release

Logs

New Logs section — browse, read, and live-tail log files and systemd journals directly in the web UI.

Features

File browser

  • Lazy-expanding tree of `/var/log` (subdirectories load on click)
  • Click any file to read its last 500 lines instantly
  • All paths restricted to `/var/log` via symlink-safe `safePath` validation

Live tail

  • Click ▶ Follow on any open file to stream new lines in real-time via Server-Sent Events
  • Uses `tail -n 50 -F` — handles log rotation automatically
  • Pulsing ● live indicator while streaming
  • Auto-scroll pauses when you scroll up; resumes when you reach the bottom

Systemd journal

  • Lists all systemd service units with color-coded status dots (active=green, inactive=grey, failed=red)
  • Filter box to search units by name or description
  • Click any unit to stream its journal live via `journalctl -fu`
  • Section hidden automatically on non-systemd systems

Log viewer

  • Keyword-based line coloring: error/fatal/crit = red, warn = yellow, debug = muted
  • Filter bar to search within loaded lines
  • 2000-line ring buffer cap with indicator
  • Line count footer

Bug fixes

  • Fixed session persistence on existing installations — databases created before v0.9.8 had a `webux_sessions` schema mismatch (`user_id` vs `username`) that caused every session to fail silently, forcing re-login on every page refresh and leaving the dashboard stats and Security Hardening widget blank
  • `make release` and `make release-full` now depend on the `web` target, ensuring cross-compiled binaries always embed the latest frontend

Special thanks to John for the feedback that shaped these improvements.