Skip to content

Commit ae66c22

Browse files
authored
Merge pull request #99 from Clever/log-levels
reduce log levels
2 parents 18b85ed + fbb5fe8 commit ae66c22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/sfncli/runner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ func (t *TaskRunner) Process(ctx context.Context, args []string, input string) e
111111
go t.handleSignals(ctx)
112112

113113
if tmpDir == "" {
114-
t.logger.InfoD("exec-command-start", logger.M{"args": args, "cmd": t.cmd})
114+
t.logger.TraceD("exec-command-start", logger.M{"args": args, "cmd": t.cmd})
115115
} else {
116-
t.logger.InfoD("exec-command-start", logger.M{"args": args, "cmd": t.cmd, "workdirectory": tmpDir})
116+
t.logger.TraceD("exec-command-start", logger.M{"args": args, "cmd": t.cmd, "workdirectory": tmpDir})
117117
}
118118
start := time.Now()
119119
if err := t.execCmd.Run(); err != nil {

cmd/sfncli/sfncli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func main() {
176176
cw.SetActiveState(true)
177177
input := *getATOutput.Input
178178
token := *getATOutput.TaskToken
179-
log.InfoD("getactivitytask", logger.M{"input": input, "token": token})
179+
log.TraceD("getactivitytask", logger.M{"input": input, "token": token})
180180

181181
// Create a context for this task. We'll cancel this context on errors.
182182
// Anything spawned on behalf of the task should use this context.

0 commit comments

Comments
 (0)