From 54ff68590c44c409598bc26edb359e4704f63807 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 Sep 2024 21:29:42 +1000 Subject: [PATCH] improve logging --- server/handler/vmModifyEvent.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/handler/vmModifyEvent.go b/server/handler/vmModifyEvent.go index 29bcb40..fc8a135 100644 --- a/server/handler/vmModifyEvent.go +++ b/server/handler/vmModifyEvent.go @@ -55,6 +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, "vm", event.CloudEvent.Data.VM.Name, "user_name", event.CloudEvent.Data.UserName) // Try to decode the config changes data