diff --git a/src/main/java/teetime/framework/ExecutionInstantiation.java b/src/main/java/teetime/framework/ExecutionInstantiation.java index 63a57c3d9dc2e8e7840d7a0105aecdb4f3796041..a6813eb72e9c1b953ea7c1e4c8e6aa02e782f023 100644 --- a/src/main/java/teetime/framework/ExecutionInstantiation.java +++ b/src/main/java/teetime/framework/ExecutionInstantiation.java @@ -94,13 +94,16 @@ class ExecutionInstantiation { int color = DEFAULT_COLOR; Map<Stage, Integer> colors = new HashMap<Stage, Integer>(); Set<Stage> threadableStageJobs = configuration.getThreadableStages().keySet(); - Integer createdConnections = 0; + int numCreatedConnections = 0; for (Stage threadableStage : threadableStageJobs) { color++; colors.put(threadableStage, color); - createdConnections = colorAndConnectStages(color, colors, threadableStage, configuration); + numCreatedConnections += colorAndConnectStages(color, colors, threadableStage, configuration); + } + + if (LOGGER.isDebugEnabled()) { + LOGGER.debug("Created " + numCreatedConnections + " connections"); } - LOGGER.debug("Created " + createdConnections + " connections"); } }