diff --git a/src/main/java/org/aksw/iguana/cc/worker/ResponseBodyProcessor.java b/src/main/java/org/aksw/iguana/cc/worker/ResponseBodyProcessor.java index 6dcec479..af3e297a 100644 --- a/src/main/java/org/aksw/iguana/cc/worker/ResponseBodyProcessor.java +++ b/src/main/java/org/aksw/iguana/cc/worker/ResponseBodyProcessor.java @@ -72,7 +72,10 @@ public List getResponseDataMetrics() { return responseDataMetrics; } - LOGGER.info(MessageFormat.format("Shutting down ResponseBodyProcessor with {0} min timeout to finish processing. {1} tasks remaining.", timeout.toMinutes() + "." + (timeout.toSecondsPart() / (double) 60), executor.getQueue().size())); + LOGGER.info(MessageFormat.format("Shutting down ResponseBodyProcessor with {0}min {1}s timeout to finish processing. {2} tasks remaining.", + timeout.toMinutes(), + String.format("%02d", timeout.toSecondsPart()), + executor.getQueue().size())); boolean noTimeout; try { executor.shutdown();