Juan Hernandez has uploaded a new change for review.

Change subject: core: Clean ShutdownVmCommand log messages
......................................................................

core: Clean ShutdownVmCommand log messages

These log messages are quite old, they still make references to
VmHandler.cs.

Change-Id: I9738c1aa1555da9c75f93b4062c25b94e528ed12
Signed-off-by: Juan Hernandez <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ShutdownVmCommand.java
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/95/12995/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ShutdownVmCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ShutdownVmCommand.java
index d889e23..bb5ee3d 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ShutdownVmCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ShutdownVmCommand.java
@@ -47,7 +47,7 @@
 
     @Override
     protected void Perform() {
-        log.infoFormat("VmHandler.cs:ShutdownVmCommand:Perform: entered 
(Desktop {0}).", getVm().getName());
+        log.infoFormat("Entered (VM {0}).", getVm().getName());
 
         VmHandler.UpdateVmGuestAgentVersion(getVm());
         boolean CanShutDown = (getVm().getStatus() == VMStatus.Up)
@@ -57,7 +57,7 @@
         // shutting down desktop and waiting for it in a separate thread to
         // become 'down':
         {
-            log.infoFormat("VmHandler.cs:ShutdownVmCommand:Perform: sending 
shutdown command for Desktop {0}.", getVm()
+            log.infoFormat("Sending shutdown command for VM {0}.", getVm()
                     .getName());
 
             int secondsToWait = getParameters().getWaitBeforeShutdown() ? 
Config
@@ -77,7 +77,7 @@
             setCommandShouldBeLogged(false);
 
             log.infoFormat(
-                    "VmHandler.cs:ShutdownVmCommand:Perform: Cannot shutdown 
Desktop {0}, status is not up. Stopping instead.",
+                    "Cannot shutdown VM {0}, status is not up. Stopping 
instead.",
                     getVm().getName());
 
             StopVmParameters stopVmParams = new StopVmParameters(getVmId(), 
StopVmTypeEnum.CANNOT_SHUTDOWN);


--
To view, visit http://gerrit.ovirt.org/12995
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9738c1aa1555da9c75f93b4062c25b94e528ed12
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to