diff --git a/modules/nextflow/src/main/groovy/nextflow/Session.groovy b/modules/nextflow/src/main/groovy/nextflow/Session.groovy index 7405949971..c9054e6673 100644 --- a/modules/nextflow/src/main/groovy/nextflow/Session.groovy +++ b/modules/nextflow/src/main/groovy/nextflow/Session.groovy @@ -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()