Skip to content

Commit e473807

Browse files
Update reorder hosts log to DEBUG, log line is too verbose to have on as INFO
1 parent ed983eb commit e473807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,7 @@ protected List<Host> findSuitableHosts(VirtualMachineProfile vmProfile, Deployme
17141714

17151715
@Override
17161716
public void reorderHostsByPriority(Map<Long, Integer> priorities, List<Host> hosts) {
1717-
logger.info("Re-ordering hosts {} by priorities {}", hosts, priorities);
1717+
logger.debug("Re-ordering hosts {} by priorities {}", hosts, priorities);
17181718

17191719
hosts.removeIf(host -> DataCenterDeployment.PROHIBITED_HOST_PRIORITY.equals(getHostPriority(priorities, host.getId())));
17201720

@@ -1727,7 +1727,7 @@ public int compare(Host host1, Host host2) {
17271727
}
17281728
);
17291729

1730-
logger.info("Hosts after re-ordering are: {}", hosts);
1730+
logger.debug("Hosts after re-ordering are: {}", hosts);
17311731
}
17321732

17331733
private Integer getHostPriority(Map<Long, Integer> priorities, Long hostId) {

0 commit comments

Comments
 (0)