Skip to content

Commit

Permalink
chore(internal/mdns): disable mdns package default logging (#3139)
Browse files Browse the repository at this point in the history
  • Loading branch information
EclesioMeloJunior authored Mar 3, 2023
1 parent 33bdf28 commit 4717c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/mdns/mdns.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ func (s *Service) Start() (err error) {

hostIDPretty := hostID.Pretty()
txt := []string{hostIDPretty}

mdns.DisableLogging = true
mdnsService, err := mdns.NewMDNSService(hostIDPretty, s.serviceTag, "", "", int(port), ips, txt)
if err != nil {
return fmt.Errorf("creating mDNS service: %w", err)
Expand Down

0 comments on commit 4717c96

Please sign in to comment.