Skip to content

Commit

Permalink
log the Go runtime version at TF startup
Browse files Browse the repository at this point in the history
This will help us debug issues which have been caused by Go bugs.
  • Loading branch information
mitchellh committed Feb 16, 2017
1 parent fa2fd0b commit 3dfc46a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Expand Up @@ -103,6 +103,7 @@ func wrappedMain() int {
log.Printf(
"[INFO] Terraform version: %s %s %s",
Version, VersionPrerelease, GitCommit)
log.Printf("[INFO] Go runtime version: %s", runtime.Version())
log.Printf("[INFO] CLI args: %#v", os.Args)

// Load the configuration
Expand Down

0 comments on commit 3dfc46a

Please sign in to comment.