Lift some message from the cluster to info

This commit is contained in:
Ingo Oppermann
2024-04-10 10:39:34 +02:00
parent 29fa94ed52
commit 4bc08d2b1e
2 changed files with 10 additions and 6 deletions

View File

@@ -348,7 +348,7 @@ func New(config Config) (Cluster, error) {
Store: store,
LeadershipNotifyCh: c.raftNotifyCh,
LeaderObservationCh: c.raftLeaderObservationCh,
Logger: c.logger.WithComponent("Raft"),
Logger: c.logger.WithComponent("Raft").WithField("address", config.Address),
})
if err != nil {
c.Shutdown()