Skip to content

Commit

Permalink
Save report and trace
Browse files Browse the repository at this point in the history
Logging as previously configured will not work
with WEHI stornext read-only changes, so using
Nextflow execution reports for data provenance
instead.
  • Loading branch information
mcmero committed May 24, 2024
1 parent 7c368fe commit 6bf9965
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
19 changes: 0 additions & 19 deletions logger.config

This file was deleted.

10 changes: 10 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,13 @@ profiles {
includeConfig 'logger.config'
}
}

def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss')
report {
enabled = true
file = "${params.outdir}/log/execution_report_${trace_timestamp}.html"
}
trace {
enabled = true
file = "${params.outdir}/log/execution_trace_${trace_timestamp}.txt"
}

0 comments on commit 6bf9965

Please sign in to comment.