From af70f7872baa8be1d9e0920aae6fef6467062e0d Mon Sep 17 00:00:00 2001 From: Denys Melnyk Date: Mon, 18 Dec 2023 18:06:43 +0200 Subject: [PATCH] fix: move log with potential sensitive data to debug loglevel. Fixes: #12366 (#12368) Signed-off-by: Denys Melnyk --- cmd/argoexec/commands/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/argoexec/commands/root.go b/cmd/argoexec/commands/root.go index c01aa58c02dc..ea4b66c936b5 100644 --- a/cmd/argoexec/commands/root.go +++ b/cmd/argoexec/commands/root.go @@ -133,7 +133,7 @@ func initExecutor() *executor.WorkflowExecutor { WithField("version", version.String()). WithField("namespace", namespace). WithField("podName", podName). - WithField("template", wfv1.MustMarshallJSON(&wfExecutor.Template)). + WithField("templateName", wfExecutor.Template.Name). WithField("includeScriptOutput", includeScriptOutput). WithField("deadline", deadline). Info("Executor initialized")