Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 282

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

    Correct Answer: B

    Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged to stderr, not stdout. According to Terraform's documentation, detailed logs appear on stderr when this environment variable is enabled.

Discussion
MohameDaftOption: A

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged to standard output (stdout) or standard error (stderr)

meallhourOption: B

B Because it's stdrr

sucharOption: B

Correct is B. False - not "stdut" but stderr" https://developer.hashicorp.com/terraform/internals/debugging "Terraform has detailed logs that you can enable by setting the TF_LOG environment variable to any value. Enabling this setting causes detailed logs to appear on stderr."

uaxOption: B

"Terraform has detailed logs that you can enable by setting the TF_LOG environment variable to any value. Enabling this setting causes detailed logs to appear on stderr." https://developer.hashicorp.com/terraform/internals/debugging

akm_1010Option: B

https://developer.hashicorp.com/terraform/internals/debugging

RajmaneOption: B

B Because it's stdrr