From 4b6d072490b5da471da0dd875ed901fb8da7af45 Mon Sep 17 00:00:00 2001 From: Nitin Date: Wed, 24 Aug 2011 18:00:09 +0530 Subject: [PATCH] bug 10972: Improve logging - put in the hostid and hostname on which the vm launches. status 10972: resolved fixed --- server/src/com/cloud/deploy/FirstFitPlanner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 server/src/com/cloud/deploy/FirstFitPlanner.java diff --git a/server/src/com/cloud/deploy/FirstFitPlanner.java b/server/src/com/cloud/deploy/FirstFitPlanner.java old mode 100644 new mode 100755 index 4a01a4417ca..f380285f9d2 --- a/server/src/com/cloud/deploy/FirstFitPlanner.java +++ b/server/src/com/cloud/deploy/FirstFitPlanner.java @@ -502,7 +502,7 @@ public class FirstFitPlanner extends PlannerBase implements DeploymentPlanner { } } if(hostCanAccessPool){ - s_logger.debug("Found a potential host and associated storage pools for this VM"); + s_logger.debug("Found a potential host " + "id: "+potentialHost.getId() + " name: " +potentialHost.getName()+ " and associated storage pools for this VM"); return new Pair>(potentialHost, storage); } }