mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 01:50:26 +08:00
健康检查增加是否记录访问日志选项
This commit is contained in:
@@ -21,8 +21,13 @@ func (this *HTTPRequest) doHealthCheck(key string, isHealthCheck *bool) (stop bo
|
|||||||
}
|
}
|
||||||
*isHealthCheck = true
|
*isHealthCheck = true
|
||||||
|
|
||||||
|
if !data.GetBool("accessLogIsOn") {
|
||||||
|
this.disableLog = true
|
||||||
|
}
|
||||||
|
|
||||||
if data.GetBool("onlyBasicRequest") {
|
if data.GetBool("onlyBasicRequest") {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user