From e5dfd2c5499443300e6cda5e48f12c1298680ff9 Mon Sep 17 00:00:00 2001 From: Marcus B Spencer Date: Wed, 17 Dec 2025 09:04:47 -0600 Subject: [PATCH] chore(beacon): more verbose debug logging (#10496) Signed-off-by: Marcus B Spencer --- lib/beacon/broadcast.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/beacon/broadcast.go b/lib/beacon/broadcast.go index 353ecb5e1..8f4e99372 100644 --- a/lib/beacon/broadcast.go +++ b/lib/beacon/broadcast.go @@ -75,6 +75,7 @@ func writeBroadcasts(ctx context.Context, inbox <-chan []byte, port int) error { if iaddr, ok := addr.(*net.IPNet); ok && len(iaddr.IP) >= 4 && iaddr.IP.IsGlobalUnicast() && iaddr.IP.To4() != nil { baddr := bcast(iaddr) dsts = append(dsts, baddr.IP) + slog.Debug("Added broadcast address", slogutil.Address(baddr), "intf", intf.Name, slog.String("intf_flags", intf.Flags.String())) } } } @@ -84,8 +85,6 @@ func writeBroadcasts(ctx context.Context, inbox <-chan []byte, port int) error { dsts = append(dsts, net.IP{0xff, 0xff, 0xff, 0xff}) } - l.Debugln("addresses:", dsts) - success := 0 for _, ip := range dsts { dst := &net.UDPAddr{IP: ip, Port: port}