refactor: consolidate log lines and pass more protocol info

This commit is contained in:
Derrick Hammer 2024-01-12 10:38:57 -05:00
parent 59a3ac6b64
commit 89935f2f00
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 2 deletions

View File

@ -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
}