From 9688710c1052985d4752daf626dcfcf8107daf48 Mon Sep 17 00:00:00 2001 From: Lang Martin Date: Tue, 7 May 2019 17:01:05 -0400 Subject: [PATCH] executor/* Launch log at top of Launch is more explicit, trace --- drivers/shared/executor/executor.go | 2 +- drivers/shared/executor/executor_linux.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/shared/executor/executor.go b/drivers/shared/executor/executor.go index 301deb45b..59a890fa1 100644 --- a/drivers/shared/executor/executor.go +++ b/drivers/shared/executor/executor.go @@ -248,7 +248,7 @@ func (e *UniversalExecutor) Version() (*ExecutorVersion, error) { // Launch launches the main process and returns its state. It also // configures an applies isolation on certain platforms. func (e *UniversalExecutor) Launch(command *ExecCommand) (*ProcessState, error) { - e.logger.Debug("launch prep", "command", command.Cmd, "args", strings.Join(command.Args, " ")) + e.logger.Trace("preparing to launch command", "command", command.Cmd, "args", strings.Join(command.Args, " ")) e.commandCfg = command diff --git a/drivers/shared/executor/executor_linux.go b/drivers/shared/executor/executor_linux.go index 3757cd746..3c235206b 100644 --- a/drivers/shared/executor/executor_linux.go +++ b/drivers/shared/executor/executor_linux.go @@ -98,7 +98,7 @@ func NewExecutorWithIsolation(logger hclog.Logger) Executor { // Launch creates a new container in libcontainer and starts a new process with it func (l *LibcontainerExecutor) Launch(command *ExecCommand) (*ProcessState, error) { - l.logger.Debug("launch prep", "command", command.Cmd, "args", strings.Join(command.Args, " ")) + l.logger.Trace("preparing to launch command", "command", command.Cmd, "args", strings.Join(command.Args, " ")) if command.Resources == nil { command.Resources = &drivers.Resources{