From 88e5a21170d0aae3454291e34c24d941b1af561c Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Thu, 13 Jun 2019 10:48:13 -0700 Subject: [PATCH] make sure machine readable logs print what's come through the UI into the logs --- packer/ui.go | 1 + 1 file changed, 1 insertion(+) diff --git a/packer/ui.go b/packer/ui.go index 9ba44518b..cc4dd0a7e 100644 --- a/packer/ui.go +++ b/packer/ui.go @@ -350,6 +350,7 @@ func (u *MachineReadableUi) Machine(category string, args ...string) { panic(err) } } + log.Printf("%d,%s,%s,%s\n", now.Unix(), target, category, argsString) } // TimestampedUi is a UI that wraps another UI implementation and