From f84b8fc4626f93aaefe1274ebfe30580c08bf030 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E4=BF=A1?=
 <lizhixin@B-C0A1LVDL-2144.local>
Date: Wed, 23 Dec 2020 13:51:37 +0800
Subject: [PATCH] fix: use logger

---
 protocol/rpc_status.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/protocol/rpc_status.go b/protocol/rpc_status.go
index 2e2aecffe..d4988cd93 100644
--- a/protocol/rpc_status.go
+++ b/protocol/rpc_status.go
@@ -18,8 +18,8 @@
 package protocol
 
 import (
-	"fmt"
 	"github.com/apache/dubbo-go/common/constant"
+	"github.com/apache/dubbo-go/common/logger"
 	"sync"
 	"sync/atomic"
 	"time"
@@ -230,7 +230,7 @@ func TryRefreshBlackList() {
 		}()
 
 		ivks := GetBlackListInvokers(constant.DEFAULT_BLACK_LIST_RECOVER_BLOCK)
-		fmt.Println("blackList len = ", len(ivks))
+		logger.Debug("blackList len = ", len(ivks))
 
 		for i := 0; i < 3; i++ {
 			wg.Add(1)
-- 
GitLab