Log starting command

This commit is contained in:
Alex Dadgar 2015-10-09 21:28:41 -07:00
parent 6417c506ad
commit 9af8e8d92d

View file

@ -167,7 +167,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
return nil, fmt.Errorf("Error running rkt: %s\n\nOutput: %s\n\nError: %s", return nil, fmt.Errorf("Error running rkt: %s\n\nOutput: %s\n\nError: %s",
err, outBuf.String(), errBuf.String()) err, outBuf.String(), errBuf.String())
} }
d.logger.Printf("[DEBUG] driver.rkt: started ACI: %q", name) d.logger.Printf("[DEBUG] driver.rkt: started ACI %q with: %v", name, cmd.Args)
h := &rktHandle{ h := &rktHandle{
proc: cmd.Process, proc: cmd.Process,