Skip to content

Commit

Permalink
Fix sendonly node logger
Browse files Browse the repository at this point in the history
  • Loading branch information
dimriou committed Nov 23, 2023
1 parent f0cbcf1 commit 9d3c2d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions common/client/send_only_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ func NewSendOnlyNode[
) SendOnlyNode[CHAIN_ID, RPC] {
s := new(sendOnlyNode[CHAIN_ID, RPC])
s.name = name
s.log = logger.Named(lggr, "SendOnlyNode")
s.log = logger.Named(lggr, name)
s.log = logger.With(lggr,
s.log = logger.Named(logger.Named(lggr, "SendOnlyNode"), name)
s.log = logger.With(s.log,
"nodeTier", "sendonly",
)
s.rpc = rpc
Expand Down

0 comments on commit 9d3c2d5

Please sign in to comment.