packer/plugin: Add plugin path to the log messages

This commit is contained in:
Mitchell Hashimoto 2013-05-09 13:29:14 -07:00
parent 44c61e537d
commit 6d4136c5ab
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ func (c *client) logStderr(buf *bytes.Buffer) {
var line string
line, err = buf.ReadString('\n')
if line != "" {
log.Print(line)
log.Printf("%s: %s", c.cmd.Path, line)
}
}