executor/* Launch log at top of Launch is more explicit, trace
This commit is contained in:
parent
87585e950d
commit
8db3fe047c
|
@ -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
|
||||
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue