From 25bc26f1283774871f615eb78d68e193f7b75df1 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 8 Mar 2024 13:18:01 +0100 Subject: [PATCH] Fix: HTTP log using different logger than rest Signed-off-by: Knut Ahlers --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a22dedd..490044e 100644 --- a/main.go +++ b/main.go @@ -118,7 +118,7 @@ func main() { var handler http.Handler = router handler = httpHelper.GzipHandler(handler) - handler = httpHelper.NewHTTPLogHandler(handler) + handler = httpHelper.NewHTTPLogHandlerWithLogger(handler, log.StandardLogger()) server := &http.Server{ Addr: cfg.Listen,