Version v0.5.4 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.

dexaflow runs logs

Print task logs: one task’s attempt, or every task of a run (the latest run by default).

Synopsis

Print task logs. With a task_id, print that task’s attempt (the latest by default; -f streams it while it runs). Without one, print every task of the run, or of the latest run when run_id is omitted too. Without a task_id, -f follows the run to its end: the command exits 0 when the run succeeded, exits 2 when the run failed (naming the failed tasks), and exits 130 after Ctrl-C, which stops following without canceling the run.

dexaflow runs logs <dag_id> [run_id [task_id]] [flags]

Options

  -f, --follow          with a task_id, keep streaming its new log lines; without one, follow the run to its end
  -h, --help            help for logs
      --server string   control plane base URL (default: config server_url)
      --token string    JWT bearer token (default: config token)
      --try int         attempt number to read, with a task_id (default: the task's latest attempt)

Options inherited from parent commands

      --config string       config file path (default ~/.dexaflow/config.yaml)
      --log-level string    log level: debug, info, warn, error
      --server-url string   control plane API base URL
      --target name         name of the control plane to use (default: DEXAFLOW_TARGET, then the target selected for the workspace; see dexaflow target list)

SEE ALSO