cdsctl workflow logs

Manage CDS Workflow Run Logs

Synopsis

Download logs from a workflow run.

# list all logs files on latest run
$ cdsctl workflow logs list KEY WF

# list all logs files on run number 1
$ cdsctl workflow logs list KEY WF 1

# download all logs files on latest run
$ cdsctl workflow logs download KEY WF

# download only one file, for run number 1
$ cdsctl workflow logs download KEY WF 1 --pattern="MyJob"
# this will download file WF-1.0-pipeline.myPipeline-stage.MyStage-job.MyJob-status.Success-step.0.log

Options inherited from parent commands

  -c, --context string   cdsctl context name
  -f, --file string      set configuration file
      --insecure         (SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers.
  -n, --no-interactive   Set to disable interaction with ctl
      --verbose          Enable verbose output

SEE ALSO