Merge pull request #614 from rasa/584-add-golang-version-to-log

core: log golang version in debug output
This commit is contained in:
Mitchell Hashimoto 2013-11-11 14:35:21 -08:00
commit e21a867564
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func wrappedMain() int {
"Packer Version: %s %s %s",
packer.Version, packer.VersionPrerelease, packer.GitCommit)
log.Printf("Packer Target OS/Arch: %s %s", runtime.GOOS, runtime.GOARCH)
log.Printf("Built with Go Version: %s", runtime.Version())
// Prepare stdin for plugin usage by switching it to a pipe
setupStdin()