diff --git a/node/process.go b/node/process.go index c225a1e..e31fc86 100644 --- a/node/process.go +++ b/node/process.go @@ -23,7 +23,7 @@ func (n *Node) processMessage(ctx context.Context, from peer.ID, payload []byte, return fmt.Errorf("could not unpack message: %w", err) } - log := n.log.With().Str("peer", from.String()).Str("type", msgType).Str("pipeline", pipeline.String()).Logger() + log := n.log.With().Stringer("peer", from).Str("type", msgType).Stringer("pipeline", pipeline).Logger() if !messageAllowedOnPipeline(msgType, pipeline) { log.Debug().Msg("message not allowed on pipeline")