Reduce verbosity

This commit is contained in:
Frank Denis 2018-01-29 04:03:59 +01:00
parent cf12fb170a
commit 479d9d14fd
2 changed files with 2 additions and 3 deletions

View File

@ -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: []

View File

@ -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)