Get the logs for a given job.

Usage

komo job logs [OPTIONS] JOB_ID

Options

OptionDescriptionType
‑w, ‑‑followIf this option is specified, this command will continuously output new log entries until the job finishes. Otherwise, this command will output the current logs and then exit.flag
‑i, ‑‑node-indexThe index of the node to get logs from. Defaults to 0.int

Examples

Get the logs for job abcdef123456

komo job logs abcdef123456

Get the logs for the second node of job abcdef123456

komo job logs -i 1 abcdef123456

Get the logs for job abcdef123456 and keep outputting logs from the job as they’re generated until the job finishes

komo job logs -f abcdef123456