From 58cd0eae4edcaf6dc7fbb65c61f0969bb1becd3f Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Tue, 23 Jun 2026 13:56:19 +0200 Subject: [PATCH] Add trace logging to UpdateAffectedPeers function for debugging purposes --- .../internals/controllers/network_map/controller/controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/management/internals/controllers/network_map/controller/controller.go b/management/internals/controllers/network_map/controller/controller.go index 81c544141..2225e8a2d 100644 --- a/management/internals/controllers/network_map/controller/controller.go +++ b/management/internals/controllers/network_map/controller/controller.go @@ -249,6 +249,7 @@ func (c *Controller) UpdateAccountPeers(ctx context.Context, accountID string, r // UpdateAffectedPeers updates only the specified peers that belong to an account. func (c *Controller) UpdateAffectedPeers(ctx context.Context, accountID string, peerIDs []string) error { + log.WithContext(ctx).Tracef("UpdateAccountPeers: account %s, %d affected peers (caller: %s)", accountID, len(peerIDs), util.GetCallerName()) if len(peerIDs) == 0 { return nil }