diff options
author | Elad <theman@elad.im> | 2018-11-18 17:54:03 +0800 |
---|---|---|
committer | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-11-18 17:54:03 +0800 |
commit | 51e2e78d26b9e8c7b6297cf51662cf22debbb7c6 (patch) | |
tree | b8499b5bf07e749510278bf0a06097956666a5a8 /swarm/api | |
parent | d136e985e80e4c3dc27678b0f54d6e34dd671850 (diff) | |
download | dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar.gz dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar.zst dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.zip |
swarm/api/http: change request served msg log level (#18127)
Diffstat (limited to 'swarm/api')
-rw-r--r-- | swarm/api/http/middleware.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/api/http/middleware.go b/swarm/api/http/middleware.go index ccc040c54..f5f70138b 100644 --- a/swarm/api/http/middleware.go +++ b/swarm/api/http/middleware.go @@ -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) }) } |