From a9f0622ed9750593ca6de12a27bb3a92c4e419e4 Mon Sep 17 00:00:00 2001 From: Raúl Benencia Date: Fri, 5 Jun 2026 09:53:24 -0300 Subject: Use slog logging Drop go-kit/kit/log in favor of the now standard log/slog. --- internal/handlers/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/handlers/middleware.go') diff --git a/internal/handlers/middleware.go b/internal/handlers/middleware.go index 9525efb..7ad00a0 100644 --- a/internal/handlers/middleware.go +++ b/internal/handlers/middleware.go @@ -55,7 +55,7 @@ func loggingMiddleware(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { logger := envFromRequest(r).Logger - logger.Info("component", "http", "type", "request", "src", r.RemoteAddr, "method", r.Method, "url", r.URL) + logger.Info("http request", "component", "http", "type", "request", "src", r.RemoteAddr, "method", r.Method, "url", r.URL) h.ServeHTTP(w, r) }) } -- cgit v1.2.3