aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorElad <theman@elad.im>2018-11-18 17:54:03 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-18 17:54:03 +0800
commit51e2e78d26b9e8c7b6297cf51662cf22debbb7c6 (patch)
treeb8499b5bf07e749510278bf0a06097956666a5a8 /swarm
parentd136e985e80e4c3dc27678b0f54d6e34dd671850 (diff)
downloaddexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar
dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar.gz
dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar.bz2
dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar.lz
dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar.xz
dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.tar.zst
dexon-51e2e78d26b9e8c7b6297cf51662cf22debbb7c6.zip
swarm/api/http: change request served msg log level (#18127)
Diffstat (limited to 'swarm')
-rw-r--r--swarm/api/http/middleware.go2
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)
})
}