From 760a62c286f7e80b792da337f17c47e8b3ea788d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 22 May 2021 10:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=A4=E5=A4=84=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/iplibrary/manager_ip_list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/iplibrary/manager_ip_list.go b/internal/iplibrary/manager_ip_list.go index 6700f7f..e3f97b0 100644 --- a/internal/iplibrary/manager_ip_list.go +++ b/internal/iplibrary/manager_ip_list.go @@ -47,7 +47,7 @@ func (this *IPListManager) Start() { // 第一次读取 err := this.loop() if err != nil { - remotelogs.Println("IP_LIST_MANAGER", err.Error()) + remotelogs.Error("IP_LIST_MANAGER", err.Error()) } ticker := time.NewTicker(60 * time.Second) @@ -64,7 +64,7 @@ func (this *IPListManager) Start() { if err != nil { countErrors++ - remotelogs.Println("IP_LIST_MANAGER", err.Error()) + remotelogs.Error("IP_LIST_MANAGER", err.Error()) // 连续错误小于3次的我们立即重试 if countErrors <= 3 {