调整个别日志级别

This commit is contained in:
GoEdgeLab
2021-05-23 20:45:14 +08:00
parent b858553a86
commit ac24b6a473
4 changed files with 44 additions and 14 deletions

View File

@@ -202,11 +202,11 @@ func (this *HTTPRequest) doFastcgi() (shouldStop bool) {
err1 := resp.Body.Close()
if err1 != nil {
remotelogs.Error("REQUEST_REVERSE_PROXY", err1.Error())
remotelogs.Warn("REQUEST_FASTCGI", err1.Error())
}
if err != nil && err != io.EOF {
remotelogs.Error("REQUEST_REVERSE_PROXY", err.Error())
remotelogs.Warn("REQUEST_FASTCGI", err.Error())
this.addError(err)
}
return