From d0c042844e7e8d2f4770a43e60c9add1b982b0ba Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Tue, 28 Mar 2023 14:53:57 +0800 Subject: [PATCH] third --- cmd/rpc/third/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/rpc/third/main.go b/cmd/rpc/third/main.go index faf88adae..026a66853 100644 --- a/cmd/rpc/third/main.go +++ b/cmd/rpc/third/main.go @@ -1,14 +1,14 @@ package main import ( - "context" + "fmt" "github.com/OpenIMSDK/Open-IM-Server/internal/rpc/third" "github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd" "github.com/OpenIMSDK/Open-IM-Server/pkg/common/config" - "github.com/OpenIMSDK/Open-IM-Server/pkg/common/log" ) func main() { + fmt.Println("#######################################") rpcCmd := cmd.NewRpcCmd("third") rpcCmd.AddPortFlag() rpcCmd.AddPrometheusPortFlag() @@ -16,7 +16,7 @@ func main() { panic(err.Error()) } name := config.Config.RpcRegisterName.OpenImThirdName - log.ZInfo(context.Background(), "StartRpc", "name", name) + fmt.Println("StartThirdRpc", "name:", name) if err := rpcCmd.StartSvr(name, third.Start); err != nil { panic(err.Error()) }