diff --git a/internal/utils/connlogger.go b/internal/utils/connlogger.go index 7baf02baf..0b02d10ed 100644 --- a/internal/utils/connlogger.go +++ b/internal/utils/connlogger.go @@ -17,7 +17,9 @@ type ConnLogger struct { } func netLogger(n net.Network, l log.Logger) log.Logger { - return l.New("net", n) + return l.New("net", + "netLocalPeer", n.LocalPeer(), + "netListenAddresses", n.ListenAddresses()) } func connLogger(c net.Conn, l log.Logger) log.Logger {