diff --git a/http/middleware.go b/http/middleware.go index 7834241..85d2b8e 100644 --- a/http/middleware.go +++ b/http/middleware.go @@ -38,7 +38,7 @@ func NewAuthMiddleware(provider eduboard.UserAuthenticationProvider) func(handle func Logger(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Printf("%s: %s %s", r.RemoteAddr, r.Method, r.URL.Path) + fmt.Printf("%s: %s %s\n", r.RemoteAddr, r.Method, r.URL.Path) next.ServeHTTP(w, r) }) }