From b69e983474efd30735ef15fdf656bc6f4f50659d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 28 Jun 2013 15:51:31 -0400 Subject: [PATCH] packer/plugin: Extra logging statements --- packer/plugin/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packer/plugin/client.go b/packer/plugin/client.go index daf24a8af..a6c01683c 100644 --- a/packer/plugin/client.go +++ b/packer/plugin/client.go @@ -218,6 +218,8 @@ func (c *Client) Start() (address string, err error) { cmd.Env = append(cmd.Env, env...) cmd.Stderr = stderr cmd.Stdout = stdout + + log.Printf("Starting plugin: %s %#v", cmd.Path, cmd.Args) err = cmd.Start() if err != nil { return @@ -250,6 +252,7 @@ func (c *Client) Start() (address string, err error) { timeout := time.After(c.config.StartTimeout) // Start looking for the address + log.Println("Waiting for RPC address for: %s", cmd.Path) for done := false; !done; { select { case <-timeout: