强制记录攻击日志

This commit is contained in:
GoEdgeLab
2022-04-21 09:40:05 +08:00
parent 850ee8e944
commit abd0d118f5
3 changed files with 55 additions and 44 deletions

View File

@@ -93,7 +93,8 @@ type HTTPRequest struct {
logAttrs map[string]string
disableLog bool // 请求中关闭Log
disableLog bool // 是否在当前请求中关闭Log
forceLog bool // 是否强制记录日志
// script相关操作
isDone bool