From 2644ccde76bd6e76906c66de9fea36a20a3ef69a Mon Sep 17 00:00:00 2001 From: nikkiing <1031497516@qq.com> Date: Fri, 21 Apr 2023 17:16:29 +0800 Subject: [PATCH] =?UTF-8?q?elasticsearch7.10=E6=97=A5=E5=BF=97=E5=92=8Ctra?= =?UTF-8?q?ce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- glog/es7/es.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glog/es7/es.go b/glog/es7/es.go index 8afe7a3..3dee71c 100644 --- a/glog/es7/es.go +++ b/glog/es7/es.go @@ -33,7 +33,7 @@ func (l *Logger) LogRoundTrip(request *http.Request, response *http.Response, er } else { _, _ = buf.ReadFrom(request.Body) } - glog.Glog.WithContext(ctx).Info("url:", method, index, "request:", buf.String()) + glog.Glog.WithContext(ctx).Info("url:", method, index, " request:", buf.String()) } if l.ResponseBodyEnabled() && response != nil && response.Body != nil && response.Body != http.NoBody {