Server Logs Service
August 19, 2026 ยท View on GitHub
The server_logs service reads and filters Labby's own server-process logs. It does not ingest syslog, collect fleet logs, or act as a general host log aggregator.
The generated action catalog is authoritative for the exact action schema.
Surfaces
server_logs is always available through CLI, MCP, and HTTP API. The query action requires lab:admin.
Querying Logs
server_logs.query supports bounded filtering by fields including log level, tracing target, service, action, error kind, free-text query, file, result limit, and maximum scan bytes.
Callers should treat the returned structure as the stable product response and should not parse raw journal output themselves.
CLI Journal Tail
labby logs is the operator-facing journal tail. It reads the labby systemd unit locally or, when a Labby Incus container is selected or uniquely detected, runs the journal query inside that container.
Use the generated CLI help for current flags and arguments.