Skip to content

simulo logs

Print a job’s logs from the jobs API (default: the most recent job); –follow streams until it finishes.

usage: simulo logs [-h] [--follow] [--tail N | --from-start] [job_id]
Argument Description
JOB_ID (optional) Job id (printed by simulo run on cloud submit, or listed by simulo jobs). Omitted: the most recent job.
Option Description
--follow Poll for new output until the job finishes, starting from the last 50 lines of existing output (tail -f style; use –tail N or –from-start to change that). Exit code mirrors job success/failure.
--tail N Show only the last N lines of existing output (0 = none — with –follow, stream new output only). Default with –follow: 50. The request window is sized by an assumed ~200 bytes/line, so an unusually large N of unusually long lines may show fewer than N lines; use –from-start if you need an exact count.
--from-start Print the full log from the beginning (with –follow: full history, then live).

Mutually exclusive: --tail, --from-start.