Skip to content

Commit

Permalink
chore: Simple modification of hard-to-read logs
Browse files Browse the repository at this point in the history
  • Loading branch information
elecbug committed Oct 9, 2024
1 parent b198a51 commit d305525
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion p2p/net/upgrader/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ func (l *listener) handleIncoming() {
return
}

log.Debugf("listener %s accepted connection: %s", l, conn)
log.Debugf("listener %s accepted connection: %s <---> %s",
l,
conn.LocalMultiaddr(),
conn.RemoteMultiaddr())

// This records the fact that the connection has been
// setup and is waiting to be accepted. This call
Expand Down

0 comments on commit d305525

Please sign in to comment.