diff --git a/server/middleware.go b/server/middleware.go index 4803618..ba704cb 100644 --- a/server/middleware.go +++ b/server/middleware.go @@ -15,6 +15,7 @@ func (s *UserServer) MiddlewareLogging(next http.Handler) http.Handler { defer func(ww middleware.WrapResponseWriter) { s.Logger.Info("Served request.", "status", ww.Status(), + "method", r.Method, "path", r.URL.Path, "duration", time.Since(t1), "written", ww.BytesWritten())