swarm/api/http: change request served msg log level (#18127)

This commit is contained in:
Elad 2018-11-18 15:24:03 +05:30 committed by Anton Evangelatov
parent d136e985e8
commit 51e2e78d26

View File

@ -75,7 +75,7 @@ func InitLoggingResponseWriter(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
writer := newLoggingResponseWriter(w)
h.ServeHTTP(writer, r)
log.Debug("request served", "ruid", GetRUID(r.Context()), "code", writer.statusCode)
log.Info("request served", "ruid", GetRUID(r.Context()), "code", writer.statusCode)
})
}