diff --git a/web/middleware.go b/web/middleware.go index 78e7f9b..9b8dfbf 100644 --- a/web/middleware.go +++ b/web/middleware.go @@ -12,6 +12,7 @@ func (c *Client) Logger() gin.HandlerFunc { rl := c.log.With(). Str("ip", g.ClientIP()). Str("uri", g.Request.RequestURI). + Str("method", g.Request.Method). Logger() rl.Debug().Msg("Request received")