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 { 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.