github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/docs/internals/debugging.html.md (about) 1 --- 2 layout: "docs" 3 page_title: "Debugging" 4 sidebar_current: "docs-internals-debug" 5 description: |- 6 Terraform has detailed logs which can be enabled by setting the TF_LOG environmental variable to any value. This will cause detailed logs to appear on stderr 7 --- 8 9 # Debugging Terraform 10 11 Terraform has detailed logs which can be enabled by setting the TF_LOG environmental variable to any value. This will cause detailed logs to appear on stderr. 12 13 To persist logged output you can set TF_LOG_PATH in order to force the log to always go to a specific file when logging is enabled. Note that even when TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled. 14 15 If you find a bug with Terraform, please include the detailed log by using a service such as gist.