Fix STTRACE=http (it should use the http debug logger)

This commit is contained in:
Jakob Borg 2015-12-05 15:59:35 +01:00
parent 415415b5b2
commit a6a573f5dc

View File

@ -317,7 +317,7 @@ func debugMiddleware(h http.Handler) http.Handler {
written = rf.Int()
}
}
l.Debugf("http: %s %q: status %d, %d bytes in %.02f ms", r.Method, r.URL.String(), status, written, ms)
httpl.Debugf("http: %s %q: status %d, %d bytes in %.02f ms", r.Method, r.URL.String(), status, written, ms)
}
})
}