Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 657809f

Browse files
committedOct 4, 2015
fix debug log
License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
1 parent 7db57cd commit 657809f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎p2p/net/swarm/swarm_dial.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ func (s *Swarm) dial(ctx context.Context, p peer.ID) (*Conn, error) {
294294
remoteAddrs = addrutil.Subtract(remoteAddrs, ila)
295295
remoteAddrs = addrutil.Subtract(remoteAddrs, s.peers.Addrs(s.local))
296296

297-
log.Errorf("%s swarm dialing %s -- local:%s remote:%s", s.local, p, s.ListenAddresses(), remoteAddrs)
297+
log.Debugf("%s swarm dialing %s -- local:%s remote:%s", s.local, p, s.ListenAddresses(), remoteAddrs)
298298
if len(remoteAddrs) == 0 {
299299
err := errors.New("peer has no addresses")
300300
logdial["error"] = err

0 commit comments

Comments
 (0)
Please sign in to comment.