[#237] Improve request log #237

Open
dkirillov wants to merge 1 commit from dkirillov/frostfs-http-gw:feature/improve-logs into master

View file

@ -863,8 +863,7 @@ func (a *app) logger(h fasthttp.RequestHandler) fasthttp.RequestHandler {
log.Info(logs.Request, zap.String("remote", req.RemoteAddr().String()),
zap.ByteString("method", req.Method()),
zap.ByteString("path", req.Path()),
zap.ByteString("query", req.QueryArgs().QueryString()),
zap.ByteString("uri", req.RequestURI()),
logs.TagField(logs.TagDatapath))
h(req)
}