# HG changeset patch
# User David Scott <[email protected]>
# Date 1259595425 0
# Node ID 867e4af3bc75bd8d1c28ed2e8eebb36b7116edf0
# Parent  5ccfa2ab41877451e99075815c155eb3bbb7229f
CA-35165: Remove some more verbose, pointless and frequent logging.

Signed-off-by: David Scott <[email protected]>

diff -r 5ccfa2ab4187 -r 867e4af3bc75 ocaml/xapi/xapi_vm_lifecycle.ml
--- a/ocaml/xapi/xapi_vm_lifecycle.ml   Mon Nov 30 15:37:05 2009 +0000
+++ b/ocaml/xapi/xapi_vm_lifecycle.ml   Mon Nov 30 15:37:05 2009 +0000
@@ -310,8 +310,6 @@
 (** Called on new VMs (clones, imports) and on server start to manually refresh
     the power state, allowed_operations field etc *)
 let force_state_reset ~__context ~self ~value:state =
-       warn("Forcibly resetting VM state");
-
        Db.VM.set_power_state ~__context ~self ~value:state;
        if (Db.VM.get_current_operations ~__context ~self)<>[] then
                Db.VM.set_current_operations ~__context ~self ~value:[];
1 file changed, 2 deletions(-)
ocaml/xapi/xapi_vm_lifecycle.ml |    2 --


# HG changeset patch
# User David Scott <[email protected]>
# Date 1259595425 0
# Node ID 867e4af3bc75bd8d1c28ed2e8eebb36b7116edf0
# Parent  5ccfa2ab41877451e99075815c155eb3bbb7229f
CA-35165: Remove some more verbose, pointless and frequent logging.

Signed-off-by: David Scott <[email protected]>

diff -r 5ccfa2ab4187 -r 867e4af3bc75 ocaml/xapi/xapi_vm_lifecycle.ml
--- a/ocaml/xapi/xapi_vm_lifecycle.ml	Mon Nov 30 15:37:05 2009 +0000
+++ b/ocaml/xapi/xapi_vm_lifecycle.ml	Mon Nov 30 15:37:05 2009 +0000
@@ -310,8 +310,6 @@
 (** Called on new VMs (clones, imports) and on server start to manually refresh
     the power state, allowed_operations field etc *)
 let force_state_reset ~__context ~self ~value:state =
-	warn("Forcibly resetting VM state");
-
 	Db.VM.set_power_state ~__context ~self ~value:state;
 	if (Db.VM.get_current_operations ~__context ~self)<>[] then
 		Db.VM.set_current_operations ~__context ~self ~value:[];
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to