Do not clutter logs with computer update times
@@ -205,10 +205,11 @@ public abstract class AbstractCIBase extends Node implements ItemGroup<TopLevelI
for (Node s : getNodes()) {
long start = System.currentTimeMillis();
updateComputer(s, byName, used, automaticSlaveLaunch);
- if(LOG_STARTUP_PERFORMANCE)
- LOGGER.info(String.format("Took %dms to update node %s",
+ if (LOG_STARTUP_PERFORMANCE && LOGGER.isLoggable(Level.FINE)) {
+ LOGGER.fine(String.format("Took %dms to update node %s",
System.currentTimeMillis() - start, s.getNodeName()));
}
+ }
// find out what computers are removed, and kill off all executors.
// when all executors exit, it will be removed from the computers map.
