nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · 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.

Use the Terraform CLI (outside of core workflow)

Question

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.

Options

  • ATrue
  • BFalse

How the community answered

(38 responses)
  • A
    79% (30)
  • B
    21% (8)

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

#TF_LOG#debugging#logging#environment variables

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice