diff --git a/middlewares/logger.go b/middlewares/logger.go index 10b474e..32edd68 100644 --- a/middlewares/logger.go +++ b/middlewares/logger.go @@ -7,7 +7,7 @@ import ( func Logger(handler http.Handler) http.HandlerFunc { return func(res http.ResponseWriter, req *http.Request) { - log.Printf("%-30s %-80s", req.RemoteAddr, req.URL.Path) + log.Printf("%-30s %s", req.RemoteAddr, req.URL.Path) handler.ServeHTTP(res, req) } }