logs
View output from running services.Options
| Option | Description |
|---|---|
--config | Path to configuration file |
--clear | Reset log files instead of displaying them |
--service | The name of the service whose logs should be displayed (optional) |
--lines | Number of lines to show (default: 50) |
--kind | Kind of logs to show: stdout, stderr, or supervisor (default: stderr) |
--stream | Continuously refresh the latest log snapshot at the provided interval (e.g., 5, 1s, 2m) |
--sys | Opt into privileged system mode. Requires running as root |
--log-level | Set verbosity (debug, info, warn, error) |
Examples
View recent logs from all services
View logs from specific service
Clear logs for a specific service
api’s current stdout and stderr log files in place and does not print logs.
Clear logs for all services
supervisor.log, in place and does not print logs.
View stderr logs
View supervisor logs
Show more history
Stream snapshots
--lines entries.
Log files
Logs are stored in~/.local/share/systemg/logs/:
{service}_stdout.log- Standard output{service}_stderr.log- Standard error (primary log stream)
Note: systemg treats stderr as the primary log stream. Service logs written to stderr are given priority in the supervisor’s log output.