Add application and cluster to log message
@@ -131,7 +131,8 @@ public class NodePrioritizer {
allocation = host.ipConfig().pool().findAllocation(allNodes, nodeRepository.nameResolver());
if (allocation.isEmpty()) continue; // No free addresses in this pool
} catch (Exception e) {
- log.log(Level.WARNING, "Failed allocating IP address on " + host.hostname(), e);
+ log.log(Level.WARNING, "Failed allocating IP address on " + host.hostname() + " to " +
+ application + ", cluster " + clusterSpec.id(), e);
continue;
}
