Browse Source

Merge pull request #5446 from gyuho/gateway_log

tcpproxy: log proxy start
Xiang Li 9 years ago
parent
commit
b970e03e19
1 changed files with 1 additions and 0 deletions
  1. 1 0
      proxy/tcpproxy/userspace.go

+ 1 - 0
proxy/tcpproxy/userspace.go

@@ -78,6 +78,7 @@ func (tp *TCPProxy) Run() error {
 		tp.remotes = append(tp.remotes, &remote{addr: ep})
 		tp.remotes = append(tp.remotes, &remote{addr: ep})
 	}
 	}
 
 
+	plog.Printf("ready to proxy client requests to %v", tp.Endpoints)
 	go tp.runMonitor()
 	go tp.runMonitor()
 	for {
 	for {
 		in, err := tp.Listener.Accept()
 		in, err := tp.Listener.Accept()