Skip to content

Commit f4a1385

Browse files
committed
perf: 优化网关日志
1 parent 69a6b3d commit f4a1385

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/common/forward_service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ func FindAvailableGateway(gateways []*pb.Gateway) (*ssh.Client, error) {
8686
opts = append(opts, sshclient.WithTimeout(15))
8787
proxyClient, err := sshclient.New(opts...)
8888
if err == nil {
89+
logger.Infof("Use gateway %s", gateway.Name)
8990
return proxyClient, nil
9091
}
9192
}

0 commit comments

Comments
 (0)