From c84af741de09ed8ed9ee88d8821422b4e6efbdd7 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 20 Oct 2014 22:32:00 -0700 Subject: [PATCH] Log the version info for easier debugging --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 46f143ba5..abd0e18e3 100644 --- a/main.go +++ b/main.go @@ -84,6 +84,9 @@ func realMain() int { func wrappedMain() int { log.SetOutput(os.Stderr) + log.Printf( + "[INFO] Terraform version: %s %s %s", + Version, VersionPrerelease, GitCommit) // Load the configuration config := BuiltinConfig