This is an automated email from the ASF dual-hosted git repository.

kaili pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/master by this push:
     new 19a4afc2 golang: change log output location (#625)
19a4afc2 is described below

commit 19a4afc268d8f71b9289f9340a7df7a54b0cff22
Author: guyinyou <36399867+guyin...@users.noreply.github.com>
AuthorDate: Mon Oct 16 13:38:08 2023 +0800

    golang: change log output location (#625)
    
    Co-authored-by: guyinyou <guyinyou....@alibaba-inc.com>
---
 golang/rpc_client.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/golang/rpc_client.go b/golang/rpc_client.go
index a499a761..ecb29a17 100644
--- a/golang/rpc_client.go
+++ b/golang/rpc_client.go
@@ -100,8 +100,8 @@ func (rc *rpcClient) Close() {}
 
 func (rc *rpcClient) GracefulStop() error {
        rc.mux.Lock()
-       sugarBaseLogger.Warnf("close rpc client, target=%s", rc.target)
        closeResult := rc.conn.Close()
+       sugarBaseLogger.Warnf("close rpc client, target=%s", rc.target)
        rc.mux.Unlock()
        return closeResult
 }

Reply via email to