Merge pull request #5173 from hashicorp/b-log-levels

Plugins use parent loggers
This commit is contained in:
Alex Dadgar
2019-01-14 16:14:30 -08:00
committed by GitHub
26 changed files with 115 additions and 80 deletions

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.Info("launching command", "command", command.Cmd, "args", strings.Join(command.Args, " "))
l.logger.Debug("launching command", "command", command.Cmd, "args", strings.Join(command.Args, " "))
// Find the nomad executable to launch the executor process with
bin, err := discover.NomadExecutable()
if err != nil {