Skip to content

Commit

Permalink
golang: change log output location (#625)
Browse files Browse the repository at this point in the history
Co-authored-by: guyinyou <[email protected]>
  • Loading branch information
guyinyou and guyinyou committed Oct 16, 2023
1 parent 9fec02b commit 19a4afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golang/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 19a4afc

Please sign in to comment.