diff --git a/server/handler/vmModifyEvent.go b/server/handler/vmModifyEvent.go index 7a44271..a28de4f 100644 --- a/server/handler/vmModifyEvent.go +++ b/server/handler/vmModifyEvent.go @@ -55,7 +55,7 @@ func (h *Handler) VmModifyEvent(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Processed update event but no config changes were found\n") } else { h.Logger.Debug("Received event contains config change info", "source", event.CloudEvent.Source, - "chain_id", event.CloudEvent.Data.ChainID, + "id", event.CloudEvent.ID, "vm", event.CloudEvent.Data.VM.Name, "user_name", event.CloudEvent.Data.UserName) // Try to decode the config changes data @@ -181,6 +181,8 @@ func (h *Handler) VmModifyEvent(w http.ResponseWriter, r *http.Request) { return } } else { + h.Logger.Debug("Didn't find any configuration changes of interest", "id", event.CloudEvent.ID, + "vm", event.CloudEvent.Data.VM.Name, "config_changes", configChanges) w.WriteHeader(http.StatusAccepted) fmt.Fprintf(w, "Processed update event but no config changes were of interest\n") //prettyPrint(event.CloudEvent.Data.ConfigSpec)