Skip to content

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]
                   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.