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 {