diff --git a/http/middleware.go b/http/middleware.go index c481ed7..8cb7c0f 100644 --- a/http/middleware.go +++ b/http/middleware.go @@ -3,7 +3,6 @@ package http import ( "log" "net/http" - "os" ) func middlewareJsonHeader(next http.Handler) http.Handler { @@ -16,7 +15,6 @@ func middlewareJsonHeader(next http.Handler) http.Handler { func middlewareIndexLogger(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - log.SetOutput(os.Stdout) log.Println(r.Method, r.URL) next.ServeHTTP(w, r)