From 967d33b03b7a98915c61108d3591ccc7437134db Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:51:23 -0600 Subject: [PATCH] log --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 2da89cb..b35ede7 100644 --- a/main.go +++ b/main.go @@ -70,6 +70,7 @@ func newHandler(cfg Config) http.HandlerFunc { func newHandlerPostAPIV1Events(cfg Config) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { src := path.Base(strings.TrimSuffix(r.URL.Path, "/")) + log.Printf("%s %s | src=%s", r.Method, r.URL, src) json.NewEncoder(w).Encode(map[string]any{"src": src}) } }