From f56f1740fda8989a50c1e55e23f1d543582851ec Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 13 Aug 2013 09:53:30 -0700 Subject: [PATCH] command/inspect: change logging to be %#v for better values --- command/inspect/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/inspect/command.go b/command/inspect/command.go index c7bae8538..04ad1b7c3 100644 --- a/command/inspect/command.go +++ b/command/inspect/command.go @@ -33,7 +33,7 @@ func (c Command) Run(env packer.Environment, args []string) int { } // Read the file into a byte array so that we can parse the template - log.Printf("Reading template: %s", args[0]) + log.Printf("Reading template: %#v", args[0]) tpl, err := packer.ParseTemplateFile(args[0]) if err != nil { env.Ui().Error(fmt.Sprintf("Failed to parse template: %s", err))