mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-16 07:46:36 +08:00
修改两处日志级别
This commit is contained in:
@@ -47,7 +47,7 @@ func (this *IPListManager) Start() {
|
|||||||
// 第一次读取
|
// 第一次读取
|
||||||
err := this.loop()
|
err := this.loop()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
remotelogs.Println("IP_LIST_MANAGER", err.Error())
|
remotelogs.Error("IP_LIST_MANAGER", err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
ticker := time.NewTicker(60 * time.Second)
|
ticker := time.NewTicker(60 * time.Second)
|
||||||
@@ -64,7 +64,7 @@ func (this *IPListManager) Start() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
countErrors++
|
countErrors++
|
||||||
|
|
||||||
remotelogs.Println("IP_LIST_MANAGER", err.Error())
|
remotelogs.Error("IP_LIST_MANAGER", err.Error())
|
||||||
|
|
||||||
// 连续错误小于3次的我们立即重试
|
// 连续错误小于3次的我们立即重试
|
||||||
if countErrors <= 3 {
|
if countErrors <= 3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user