From fb4a7a790d839fb89e6e2adcaab050a8dfb288d5 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 16 Sep 2024 14:43:16 +1000 Subject: [PATCH] slightly more logging --- server/handler/vmModify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handler/vmModify.go b/server/handler/vmModify.go index 1258d9b..38dd582 100644 --- a/server/handler/vmModify.go +++ b/server/handler/vmModify.go @@ -49,7 +49,7 @@ func (h *Handler) VmModify(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusAccepted) fmt.Fprintf(w, "Processed update event but no config changes were found\n") } else { - h.Logger.Debug("Received event contains config change info") + h.Logger.Debug("Received event contains config change info", "source", event.CloudEvent.Source, "vm", event.CloudEvent.Data.VM.Name) configChanges = h.processConfigChanges(event.CloudEvent.Data.ConfigChanges.Modified) //prettyPrint(configChanges)