add klog entry for testing
This commit is contained in:
parent
c9743ae585
commit
61b0d24048
1 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,10 @@ func (p *TCPProxy) Handle(conn net.Conn) {
|
|||
proxy = p.Get(hostname)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
klog.V(4).InfoS("GetHostname cause an", "error", err)
|
||||
}
|
||||
|
||||
if proxy == nil {
|
||||
klog.V(4).InfoS("There is no configured proxy for SSL connections.")
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue