Skip to content

Commit e1c0c89

Browse files
committed
Turned more stuff down to TRACE logging
1 parent a6a9800 commit e1c0c89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/github.com/getlantern/balancer/balancer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ func (b *Balancer) Dial(network, addr string) (net.Conn, error) {
104104
d := heap.Pop(&dialers).(*dialer)
105105
heap.Push(&dialers, d)
106106
b.mu.Unlock()
107-
log.Debugf("Dialing %s://%s with %s", network, addr, d.Label)
107+
log.Tracef("Dialing %s://%s with %s", network, addr, d.Label)
108108
conn, err := d.dial(network, addr)
109109
if err != nil {
110110
log.Errorf("Unable to dial via %v to %s://%s: %v on pass %v...continuing", d.Label, network, addr, err, i)
111111
continue
112112
}
113-
log.Debugf("Successfully dialed via %v to %v://%v on pass %v", d.Label, network, addr, i)
113+
log.Tracef("Successfully dialed via %v to %v://%v on pass %v", d.Label, network, addr, i)
114114
return conn, nil
115115
}
116116
return nil, fmt.Errorf("Still unable to dial %s://%s after %d attempts", network, addr, dialAttempts)

0 commit comments

Comments
 (0)