mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-15 07:06:36 +08:00
修改两处日志级别
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user