diff --git a/integration/access_log_test.go b/integration/access_log_test.go index b48705134..ffa2b0ae8 100644 --- a/integration/access_log_test.go +++ b/integration/access_log_test.go @@ -84,7 +84,7 @@ func (s *AccessLogSuite) TestAccessLog(c *check.C) { c.Assert(count, checker.Equals, 3) } - // Verify no other Trarfik problems + // Verify no other Traefik problems if traefikLog, err := ioutil.ReadFile("traefik.log"); err != nil { c.Assert(err.Error(), checker.Equals, "") } else if len(traefikLog) > 0 { diff --git a/middlewares/logger.go b/middlewares/logger.go index f73f16965..ea2d228f7 100644 --- a/middlewares/logger.go +++ b/middlewares/logger.go @@ -73,7 +73,6 @@ func (l *Logger) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.Ha next(rw, r) } else { reqid := strconv.FormatUint(atomic.AddUint64(&reqidCounter, 1), 10) - log.Debugf("Starting request %s: %s %s %s %s %s", reqid, r.Method, r.URL.RequestURI(), r.Proto, r.Referer(), r.UserAgent()) r.Header[loggerReqidHeader] = []string{reqid} defer deleteReqid(r, reqid) frontendBackendLoggingHandler{reqid, l.file, next}.ServeHTTP(rw, r) @@ -82,7 +81,6 @@ func (l *Logger) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.Ha // Delete a reqid from the map and the request's headers func deleteReqid(r *http.Request, reqid string) { - log.Debugf("Ending request %s", reqid) infoRwMap.Remove(reqid) delete(r.Header, loggerReqidHeader) }