Skip to content

Commit

Permalink
Fixed peer selection counters misconfiguration
Browse files Browse the repository at this point in the history
Peer selection counters should be logged if `tracePeerSelectionCounters`
is set, not `tracePeerSelection`.

Their name space should be `PeerSelectionCounters` not `PeerSelection`.
  • Loading branch information
coot committed Jan 26, 2022
1 parent 0525536 commit 086e3b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-node/src/Cardano/Tracing/Tracers.hs
Expand Up @@ -361,8 +361,8 @@ mkTracers blockConfig tOpts@(TracingOnLegacy trSel) tr nodeKern ekgDirect enable
tracePeerSelectionCountersMetrics
(tracePeerSelectionCounters trSel)
ekgDirect
<> tracerOnOff (tracePeerSelection trSel)
verb "PeerSelection" tr
<> tracerOnOff (tracePeerSelectionCounters trSel)
verb "PeerSelectionCounters" tr
, P2P.dtPeerSelectionActionsTracer =
tracerOnOff (tracePeerSelectionActions trSel)
verb "PeerSelectionActions" tr
Expand Down

0 comments on commit 086e3b6

Please sign in to comment.