From fa99d86d6f83317648efa372c83f982797cdbc38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Tue, 25 May 2021 11:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E9=83=A8=E5=88=86=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E9=99=8D=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_cache.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/nodes/http_request_cache.go b/internal/nodes/http_request_cache.go index 99c2d73..48717c7 100644 --- a/internal/nodes/http_request_cache.go +++ b/internal/nodes/http_request_cache.go @@ -108,7 +108,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) { } if !this.canIgnore(err) { - remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error()) + remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error()) } return } @@ -142,7 +142,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) { }) if err != nil { if !this.canIgnore(err) { - remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error()) + remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error()) } return } @@ -234,7 +234,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) { return true } if !this.canIgnore(err) { - remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error()) + remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error()) } return } @@ -277,7 +277,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) { }) if err != nil { if !this.canIgnore(err) { - remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error()) + remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error()) } return true } @@ -300,7 +300,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) { }) if err != nil { if !this.canIgnore(err) { - remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error()) + remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error()) } return }