Logs
Navigate to System > Logs to stream real-time output from any Koios service or browse archived log files. The page has two tabs — Live Logs and Log Files.
Live Logs
The Live Logs tab streams log output from a selected service in real time using server-sent events (SSE).
Selecting a Service
The left panel lists all available services. Each entry shows the service name, a brief description, and a badge indicating its current log level. Click a service to begin streaming its logs in the terminal on the right.
Use the search bar at the top of the list to filter services by name or description.
Log Terminal
Once a service is selected, its log output streams into a terminal-style viewer.
Log Level Colors
Lines are color-coded by severity:
Connection Status
A badge in the terminal footer shows the current streaming state — Connecting, Connected, Error, or Disconnected. The connection automatically attempts to reconnect on error.
Log Files
The Log Files tab lets you browse, search, and download archived log files stored on the server.
File List
The left panel lists all log files with their filename, associated service, file size, and last-modified date. Click a file to open it in the viewer on the right.
Each file has a context menu (three-dot icon) with options to View, Download, or Delete the file. Deleting a log file is permanent and requires confirmation.
Use the search bar to filter files by name or service.
File Viewer
The file viewer displays the selected log file with line numbers, color-coded by log level (same colors as the live terminal).
Settings
The Settings tab provides configuration options for log-related behavior:
- Debug Timer — configure how long debug-level logging stays active before automatically reverting to the previous log level. This prevents accidentally leaving services in verbose debug mode.
- Log File Retention — set how long archived log files are kept before automatic cleanup. Older files are removed to manage disk usage.
- Active Debug Services — lists all services currently running with debug-level logging enabled, along with how much time remains before each reverts.
What's Next
- Services — view service status, restart services, and check diagnostics
- System Health — monitor CPU, memory, network, and disk usage
