From 6a7b391fe16b28c1fbc1b7a4f479829917680009 Mon Sep 17 00:00:00 2001 From: Karolis Rusenas Date: Tue, 4 Aug 2020 09:17:24 +0100 Subject: [PATCH] reduce logging --- tcpproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpproxy.go b/tcpproxy.go index 9826d94..acc3b8a 100644 --- a/tcpproxy.go +++ b/tcpproxy.go @@ -241,7 +241,7 @@ func (p *Proxy) serveConn(c net.Conn, routes []route) bool { } } // TODO: hook for this? - log.Printf("tcpproxy: no routes matched conn %v/%v; closing", c.RemoteAddr().String(), c.LocalAddr().String()) + // log.Printf("tcpproxy: no routes matched conn %v/%v; closing", c.RemoteAddr().String(), c.LocalAddr().String()) c.Close() return false }