From 2df0640e47d38399adf462dceb8a7d3d7b0677db Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Wed, 21 Mar 2018 11:53:58 -0700 Subject: [PATCH] executor: increase level for helpful log lines Should help with debugging issues like #3971 --- client/driver/executor/executor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/driver/executor/executor.go b/client/driver/executor/executor.go index 9735daab0..27c8b8db7 100644 --- a/client/driver/executor/executor.go +++ b/client/driver/executor/executor.go @@ -207,7 +207,7 @@ func (e *UniversalExecutor) SetContext(ctx *ExecutorContext) error { // LaunchCmd launches the main process and returns its state. It also // configures an applies isolation on certain platforms. func (e *UniversalExecutor) LaunchCmd(command *ExecCommand) (*ProcessState, error) { - e.logger.Printf("[DEBUG] executor: launching command %v %v", command.Cmd, strings.Join(command.Args, " ")) + e.logger.Printf("[INFO] executor: launching command %v %v", command.Cmd, strings.Join(command.Args, " ")) // Ensure the context has been set first if e.ctx == nil { @@ -425,7 +425,7 @@ func (e *UniversalExecutor) wait() { } } } else { - e.logger.Printf("[DEBUG] executor: unexpected Wait() error type: %v", err) + e.logger.Printf("[WARN] executor: unexpected Cmd.Wait() error type: %v", err) } e.exitState = &ProcessState{Pid: 0, ExitCode: exitCode, Signal: signal, IsolationConfig: ic, Time: time.Now()}