HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #32
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
The correct answer is A. True. Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout, along with other log levels such as TRACE, INFO, WARN, and ERROR. This can be useful for troubleshooting or debugging purposes.
Submitted by joshua94· Apr 18, 2026Use Terraform CLI
Question
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
Options
- ATrue
- BFalse
How the community answered
(54 responses)- A89% (48)
- B11% (6)
Explanation
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout, along with other log levels such as TRACE, INFO, WARN, and ERROR. This can be useful for troubleshooting or debugging purposes.
Topics
#Debugging#TF_LOG#Environment Variables#CLI Logging
Community Discussion
No community discussion yet for this question.