访问日志中增加源站状态码

This commit is contained in:
刘祥超
2022-09-16 10:07:40 +08:00
parent c0f0ec43bb
commit 7d0b9208a3
3 changed files with 7 additions and 0 deletions

View File

@@ -146,6 +146,7 @@ func (this *HTTPRequest) log() {
if this.origin != nil {
accessLog.OriginId = this.origin.Id
accessLog.OriginAddress = this.originAddr
accessLog.OriginStatus = this.originStatus
}
// 请求Body