dstack logs¶
This command shows the output of a given run.
Usage¶
$ dstack logs --help
Usage: dstack logs [-h] [--project NAME] [-d] [--replica REPLICA] [--job JOB]
[--since SINCE]
run_name
Positional Arguments:
run_name
Options:
-h, --help Show this help message and exit
--project NAME The name of the project. Defaults to $DSTACK_PROJECT
-d, --diagnose Show run diagnostic logs
--replica REPLICA The replica number. Defaults to 0.
--job JOB The job number inside the replica. Defaults to 0.
--since SINCE Show only logs newer than the specified date. Can be a
duration (e.g. 10s, 5m, 1d) or an RFC 3339 string (e.g.
2023-09-24T15:30:00Z).