[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 1 of 3] CA-35893: fix some misleading logging messages



# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1261058925 0
# Node ID c4de6840cf14a2c66c6629d3927419e02d08d00c
# Parent  4971edbcd68cce4412df8201ea0c086a144033af
CA-35893: fix some misleading logging messages

These debug messages are printed for all internal shutdowns, not just crashes.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 4971edbcd68c -r c4de6840cf14 ocaml/xapi/events.ml
--- a/ocaml/xapi/events.ml      Tue Dec 15 20:24:14 2009 +0000
+++ b/ocaml/xapi/events.ml      Thu Dec 17 14:08:45 2009 +0000
@@ -168,18 +168,18 @@
          (fun () -> Crashdump.make ~__context vm domid)
          (fun () -> perform_restart ~__context ~vm token)
     | `coredump_and_destroy ->
-       debug "domid %d actions_after_crash = coredump_and_destroy" domid;
+       debug "domid %d actions = coredump_and_destroy" domid;
        finally 
          (fun () -> Crashdump.make ~__context vm domid)
          (fun () -> perform_destroy ~__context ~vm token)
     | `restart ->
-       debug "domid %d actions_after_crash = restart" domid;
+       debug "domid %d actions = restart" domid;
        perform_restart ~__context ~vm token
     | `destroy ->
-       debug "domid %d actions_after_crash = destroy" domid;
+       debug "domid %d actions = destroy" domid;
        perform_destroy ~__context ~vm token
     | `rename_restart ->
-       warn "domid %d actions_after_crash = rename_restart but this is not 
supported." domid;
+       warn "domid %d actions = rename_restart; performing a restart instead." 
domid;
        perform_restart ~__context ~vm token
 
   let on_reboot ~__context ~vm token =
1 file changed, 4 insertions(+), 4 deletions(-)
ocaml/xapi/events.ml |    8 ++++----


Attachment: xen-api.hg-3.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.