mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #5446 from gyuho/gateway_log
tcpproxy: log proxy start
This commit is contained in:
commit
b970e03e19
@ -78,6 +78,7 @@ func (tp *TCPProxy) Run() error {
|
||||
tp.remotes = append(tp.remotes, &remote{addr: ep})
|
||||
}
|
||||
|
||||
plog.Printf("ready to proxy client requests to %v", tp.Endpoints)
|
||||
go tp.runMonitor()
|
||||
for {
|
||||
in, err := tp.Listener.Accept()
|
||||
|
Loading…
x
Reference in New Issue
Block a user