修改两处日志级别

This commit is contained in:
刘祥超
2021-05-22 10:26:12 +08:00
parent 296848a6d6
commit 760a62c286

View File

@@ -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 {