logs: Get the logs for a workflow

Description Usage Arguments Value Examples

View source: R/logs.R

Description

Returns paths to the standard out and standard error files that were generated during the execution of all calls in a workflow. A call has one or more standard out and standard error logs, depending on if the call was scattered or not. In the latter case, one log is provided for each instance of the call that has been run.

Usage

1
2
3
4
5
6
7
8
9
logs(x, ...)

## S3 method for class 'character'
logs(x, id, version = "v1", ...)

## S3 method for class 'WorkflowIdAndStatus'
logs(x, ...)

read_cromwell_log(file)

Arguments

x

Cromwell API endpoint of WorkflowIdAndStatus object.

...

not used

id

A workflow ID.

version

Cromwell API Version.

Value

WorkflowLogs object containing outputs and id.

Examples

1
2
3
4
5
6
7
8
## Not run: 
host <- "http://localhost:8000"
workflow <- system.file("extdata/workflow.wdl", package = "CromwellClient")
inputs <- system.file("extdata/inputs.json", package = "CromwellClient")
job <- submit(host, workflow, inputs)
logs(job)

## End(Not run)

labbcb/CromwellClient documentation built on Aug. 16, 2020, 9:11 p.m.