调整个别日志级别

This commit is contained in:
刘祥超
2021-05-23 20:45:14 +08:00
parent 889b9d063a
commit 38d81f340e
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