From 4a906473def3660c3bccd0a6ff27c68239c4a125 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 10 Oct 2024 19:06:33 +0200 Subject: [PATCH] update log msg --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 9325902..057977f 100644 --- a/main.go +++ b/main.go @@ -138,7 +138,7 @@ func logging(ctx huma.Context, next func(huma.Context)) { start := time.Now() next(ctx) elapsed := time.Since(start) - slog.InfoContext(ctx.Context(), "response", + slog.InfoContext(ctx.Context(), "received request", "method", ctx.Method(), "path", ctx.URL().Path, "status", ctx.Status(),