executor/* Launch log at top of Launch is more explicit, trace

This commit is contained in:
Lang Martin 2019-05-07 17:01:05 -04:00
parent 87585e950d
commit 8db3fe047c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

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