Fixed logging for vm expunge process

This commit is contained in:
alena 2011-01-25 09:47:54 -08:00
parent 825042fbd7
commit 240a4b84be
1 changed files with 2 additions and 2 deletions

View File

@ -1148,9 +1148,9 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager
//cleanup load balancer rules
if (_lbMgr.removeVmFromLoadBalancers(vmId)) {
s_logger.debug("LB rules are removed successfully as a part of vm id=" + vmId + " expunge");
s_logger.debug("Removed vm id=" + vmId + " from all load balancers as a part of expunge process");
} else {
s_logger.warn("Fail to remove lb rules as a part of vm id=" + vmId + " expunge");
s_logger.warn("Fail to remove vm id=" + vmId + " from load balancers as a part of expunge process");
}
_itMgr.remove(vm, _accountMgr.getSystemUser(), caller);