Skip to content

Commit 984661b

Browse files
committed
change idle waiting message to warn
1 parent 11c8c61 commit 984661b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

qDup/src/main/java/io/hyperfoil/tools/qdup/cmd/Dispatcher.java

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -303,18 +303,10 @@ private Dispatcher(ThreadPoolExecutor executor, ScheduledThreadPoolExecutor sche
303303
});
304304
if(nonWaitingContexts.get() == 0){
305305
if(!scriptContexts.isEmpty()){
306-
307-
if(logger.isTraceEnabled()){
308-
logger.tracef("ending phase with %d active idle waiting scripts\n%s",
309-
scriptContexts.size(),
310-
getActiveJson().toString(2)
311-
);
312-
}else{
313-
logger.infof("ending phase with %d active idle waiting scripts\n%s",
314-
scriptContexts.size(),
315-
getActiveJson().toString(2)
316-
);
317-
}
306+
logger.warnf("ending phase with %d active idle waiting scripts\n%s",
307+
scriptContexts.size(),
308+
getActiveJson().toString(2)
309+
);
318310
ScriptContext first = scriptContexts.values().iterator().next();
319311
first.done();//use context.done to also stop the waiters
320312
}

0 commit comments

Comments
 (0)