From 725fe63c8a57c9b7bb76be92183419cca501b913 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 21 Mar 2024 18:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=8D=E4=BD=8EWAF=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_waf.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/nodes/http_request_waf.go b/internal/nodes/http_request_waf.go index eba6a7d..7b7c9d1 100644 --- a/internal/nodes/http_request_waf.go +++ b/internal/nodes/http_request_waf.go @@ -275,7 +275,7 @@ func (this *HTTPRequest) checkWAFRequest(firewallPolicy *firewallconfigs.HTTPFir } if err != nil { if !this.canIgnore(err) { - remotelogs.Error("HTTP_REQUEST_WAF", this.rawURI+": "+err.Error()) + remotelogs.Warn("HTTP_REQUEST_WAF", this.rawURI+": "+err.Error()) } return } @@ -362,7 +362,7 @@ func (this *HTTPRequest) checkWAFResponse(firewallPolicy *firewallconfigs.HTTPFi } if err != nil { if !this.canIgnore(err) { - remotelogs.Error("HTTP_REQUEST_WAF", this.rawURI+": "+err.Error()) + remotelogs.Warn("HTTP_REQUEST_WAF", this.rawURI+": "+err.Error()) } return }