Merge pull request #1123 from harmony-ek/fix_conn_logging

Fix connection logging
pull/1126/head
Eugene Kim 6 years ago committed by GitHub
commit 22fe1846d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      internal/utils/connlogger.go

@ -17,7 +17,7 @@ type ConnLogger struct {
}
func netLogger(n net.Network, l log.Logger) log.Logger {
return l.New("net",
return l.New(
"netLocalPeer", n.LocalPeer(),
"netListenAddresses", n.ListenAddresses())
}

Loading…
Cancel
Save