From 5a7d7e0dc7c890d6ae157fb5b6356e38933b628a Mon Sep 17 00:00:00 2001 From: Eugene Kim Date: Thu, 20 Jun 2019 21:28:13 -0700 Subject: [PATCH] Fix connection logging An extra argument was passed and it was causing LOG15_ERROR context messages in connection logs. --- internal/utils/connlogger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/connlogger.go b/internal/utils/connlogger.go index 775cc4cd9..df30a4adb 100644 --- a/internal/utils/connlogger.go +++ b/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()) }