Skip to content

Commit

Permalink
change info to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
anthdm committed Jan 13, 2024
1 parent 4c07bc4 commit fb9357c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cluster/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (a *Agent) memberJoin(member *Member) {
Member: member,
})

slog.Info("[CLUSTER] member joined", "id", member.ID, "host", member.Host, "kinds", member.Kinds, "region", member.Region)
slog.Debug("[CLUSTER] member joined", "id", member.ID, "host", member.Host, "kinds", member.Kinds, "region", member.Region)
}

func (a *Agent) memberLeave(member *Member) {
Expand All @@ -223,7 +223,7 @@ func (a *Agent) memberLeave(member *Member) {

a.cluster.engine.BroadcastEvent(MemberLeaveEvent{Member: member})

slog.Info("[CLUSTER] member left", "id", member.ID, "host", member.Host, "kinds", member.Kinds)
slog.Debug("[CLUSTER] member left", "id", member.ID, "host", member.Host, "kinds", member.Kinds)
}

func (a *Agent) bcast(msg any) {
Expand Down
2 changes: 1 addition & 1 deletion cluster/selfmanaged.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (s *SelfManaged) startAutoDiscovery() {
s.cluster.engine.SendWithSender(memberPID, hs, self)
}
}
slog.Info("[CLUSTER] stopping discovery", "id", s.cluster.ID())
slog.Debug("[CLUSTER] stopping discovery", "id", s.cluster.ID())
}(entries)

err := s.resolver.Browse(s.ctx, serviceName, domain, entries)
Expand Down

0 comments on commit fb9357c

Please sign in to comment.