From f3f4379ca2cd9918cc69d435d0e74ab4956c64cd Mon Sep 17 00:00:00 2001 From: Gavi Hirsch <50673502+ghirsch1@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:24:06 -0800 Subject: [PATCH 1/2] exec-command-start INFO -> TRACE --- cmd/sfncli/runner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/sfncli/runner.go b/cmd/sfncli/runner.go index 857d359..183e2bc 100644 --- a/cmd/sfncli/runner.go +++ b/cmd/sfncli/runner.go @@ -111,9 +111,9 @@ func (t *TaskRunner) Process(ctx context.Context, args []string, input string) e go t.handleSignals(ctx) if tmpDir == "" { - t.logger.InfoD("exec-command-start", logger.M{"args": args, "cmd": t.cmd}) + t.logger.TraceD("exec-command-start", logger.M{"args": args, "cmd": t.cmd}) } else { - t.logger.InfoD("exec-command-start", logger.M{"args": args, "cmd": t.cmd, "workdirectory": tmpDir}) + t.logger.TraceD("exec-command-start", logger.M{"args": args, "cmd": t.cmd, "workdirectory": tmpDir}) } start := time.Now() if err := t.execCmd.Run(); err != nil { From fbb5fe86f5061a4fab97b120ce64554ef56bbbcd Mon Sep 17 00:00:00 2001 From: Gavi Hirsch <50673502+ghirsch1@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:24:33 -0800 Subject: [PATCH 2/2] getactivitytask INFO -> TRACE --- cmd/sfncli/sfncli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sfncli/sfncli.go b/cmd/sfncli/sfncli.go index 5902302..bec446b 100644 --- a/cmd/sfncli/sfncli.go +++ b/cmd/sfncli/sfncli.go @@ -176,7 +176,7 @@ func main() { cw.SetActiveState(true) input := *getATOutput.Input token := *getATOutput.TaskToken - log.InfoD("getactivitytask", logger.M{"input": input, "token": token}) + log.TraceD("getactivitytask", logger.M{"input": input, "token": token}) // Create a context for this task. We'll cancel this context on errors. // Anything spawned on behalf of the task should use this context.