From 89935f2f0007d6b0265b6417c4c444c44bd3daec Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 12 Jan 2024 10:38:57 -0500 Subject: [PATCH] refactor: consolidate log lines and pass more protocol info --- protocols/s5.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/protocols/s5.go b/protocols/s5.go index 6ccbab7..4f25e1c 100644 --- a/protocols/s5.go +++ b/protocols/s5.go @@ -97,8 +97,7 @@ func (s *S5Protocol) Start() error { return err } - s.portal.Logger().Info("S5 protocol started") - s.portal.Logger().Info("S5 protocol identity", zap.String("identity", identity)) + s.portal.Logger().Info("S5 protocol started", zap.String("identity", identity), zap.String("network", s.node.NetworkId()), zap.String("domain", s.node.Config().HTTP.API.Domain)) return nil }