VuIO is designed to run cleanly by default. Standard startup displays a concise terminal card containing essential server status while routing detailed background execution traces to rolling log files.
Detailed logs (INFO level and above, including errors and warnings) are automatically preserved in rotating log files on the local filesystem.
| Platform | Default Log Location |
|---|---|
| Windows | [exe dir]\config\logs\vuio.log |
| Linux | ~/.local/state/vuio/vuio.log (or /var/log/vuio/vuio.log via systemd) |
| macOS | ~/Library/Logs/vuio/vuio.log (or ./config/logs/vuio.log) |
| Docker | /data/logs/vuio.log (or /config/logs/vuio.log) |
If you want to view real-time debug traces directly on standard output, use one of the following approaches:
./vuio --debug /path/to/mediaFine-tune tracing severity per module using standard Rust env_logger directives:
# General debug output
RUST_LOG=debug ./vuio /path/to/media
# Target specific modules
RUST_LOG=vuio_core::ssdp=trace,vuio_cast=debug ./vuio /path/to/mediaConfigure log levels and output destinations directly from the CLI:
./vuio --log-file /var/log/custom-vuio.log /path/to/mediaSupported levels: off, error, warn, info, debug, trace.
./vuio --log-level debug /path/to/mediaVuIO includes a built-in log scraping endpoint optimized for pull-based ingestion agents such as Grafana Loki, Grafana Alloy, and Vector:
- Endpoint:
GET /logs - Query Parameter:
limit(default:100, maximum:5000) - Query Example:
curl http://localhost:8080/logs?limit=50 - Response:
200 OKwith raw plaintext log lines.