Skip to content

Commit

Permalink
reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rusenask committed Aug 4, 2020
1 parent b6bb9b5 commit 6a7b391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcpproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6a7b391

Please sign in to comment.