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 48e8f8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
19 changes: 0 additions & 19 deletions logger.config

This file was deleted.

13 changes: 10 additions & 3 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,14 @@ profiles {
stubRun = true
cleanup = false
}
log {
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 48e8f8b

Please sign in to comment.