Skip to content

Commit

Permalink
Dump threads only with trace log level [ci fast]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Jan 14, 2025
1 parent 58a0b34 commit 87df7cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/nextflow/src/main/groovy/nextflow/Session.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,8 @@ class Session implements ISession {
if( status )
log.debug(status)
// dump threads status
log.debug(SysHelper.dumpThreads())
if( log.isTraceEnabled() )
log.trace(SysHelper.dumpThreads())
// force termination
notifyError(null)
ansiLogObserver?.forceTermination()
Expand Down

0 comments on commit 87df7cd

Please sign in to comment.