Skip to content

Commit

Permalink
Fix memberlist log (#191)
Browse files Browse the repository at this point in the history
* Fix memberlist log

Signed-off-by: Marco Pracucci <[email protected]>

* Update kv/memberlist/memberlist_client.go

Co-authored-by: Nick Pillitteri <[email protected]>

* Update kv/memberlist/memberlist_client.go

Co-authored-by: Nick Pillitteri <[email protected]>
  • Loading branch information
pracucci and 56quarters authored Jul 14, 2022
1 parent 9c29dc5 commit ead3f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/memberlist/memberlist_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func (m *KV) buildMemberlistConfig() (*memberlist.Config, error) {
mlCfg.ProbeInterval = 5 * time.Second // Probe a random node every this interval. This setting is also the total timeout for the direct + indirect probes.
mlCfg.ProbeTimeout = 2 * time.Second // Timeout for the direct probe.

level.Info(m.logger).Log("msg", "Using memberlist cluster label %q and node name %q", mlCfg.Label, mlCfg.Name)
level.Info(m.logger).Log("msg", "Using memberlist cluster label and node name", "cluster_label", mlCfg.Label, "node", mlCfg.Name)

return mlCfg, nil
}
Expand Down

0 comments on commit ead3f93

Please sign in to comment.