Appearance
systemslab logs
| Description | View the logs emitted by an experiment or job. |
|---|---|
| Usage | systemslab logs [OPTIONS] |
Description
The systemslab logs command shows the logs emitted by an experiment or job.
By default it shows the output written so far and then exits, even if the job is still running. Pass --follow to keep streaming new output until the job finishes, and add --for to stop following after a fixed time.
Options
| Option | Default | Description |
|---|---|---|
--experiment | The experiment ID for which to show logs. | |
--job | The job ID for which to show logs. | |
--run | The latest run id | The specific run for which to show logs, in case of retries. |
-t, --timestamps | Show timestamps for individual log messages. | |
-f, --follow | Keep streaming new output until the job finishes, like tail -f. Combined with --tail N, the last N lines written so far are shown first. | |
--for <DURATION> | Stop following after this long, e.g. 30s or 5m. Requires --follow. |
Common Options
| Option | Default | Description |
|---|---|---|
--systemslab-url | The URL at which to access the systemslab server. | |
--color | auto | Controls when color is used in the output. Possible values are auto, always, and never. |
--output-format | long | Output format to use when outputting messages. long will result output designed to be human-readable while short is short output meant to be used within scripts. |
Environment Variables
| Variable | Description |
|---|---|
SYSTEMSLAB_URL | Specify the URL used to contact the SystemsLab server. Equivalent to --systemslab-url. |