From 972e45daafaabc3448990c70265ca13b9f95179b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 3 Oct 2024 14:02:40 +0100 Subject: [PATCH] Print agent labels in debug mode (#4155) (#4156) --- cmd/agent/core/agent.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/agent/core/agent.go b/cmd/agent/core/agent.go index e37ded55ec7..15d32a336d4 100644 --- a/cmd/agent/core/agent.go +++ b/cmd/agent/core/agent.go @@ -238,6 +238,8 @@ func run(ctx context.Context, c *cli.Command, backends []types.Backend) error { return err } + log.Debug().Any("labels", labels).Msgf("agent configured with labels") + filter := rpc.Filter{ Labels: labels, }