Reduce verbosity
This commit is contained in:
parent
cf12fb170a
commit
479d9d14fd
|
@ -15,7 +15,7 @@
|
|||
## If this line is commented, all registered servers will be used
|
||||
|
||||
# server_names = ['scaleway-fr', 'google', 'yandex']
|
||||
|
||||
server_names =['google']
|
||||
|
||||
## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
|
||||
## To only use systemd activation sockets, use an empty set: []
|
||||
|
|
|
@ -185,9 +185,8 @@ func (proxy *Proxy) StartProxy() {
|
|||
proxy.cachedIPs.RUnlock()
|
||||
if len(cachedIP) > 0 {
|
||||
ipOnly = cachedIP
|
||||
dlog.Infof("[%s] IP address was cached: [%s]", host, ipOnly)
|
||||
} else {
|
||||
dlog.Infof("[%s] IP address was not cached", host)
|
||||
dlog.Debugf("[%s] IP address was not cached", host)
|
||||
}
|
||||
addrStr = ipOnly + addrStr[strings.LastIndex(addrStr, ":"):]
|
||||
return dialer.DialContext(ctx, network, addrStr)
|
||||
|
|
Loading…
Reference in New Issue