The correct answer is:
✅ A. True
Explanation:
Setting the TF_LOG environment variable to DEBUG causes Terraform to log debug-level messages into stdout (standard output). This is helpful for troubleshooting and understanding the inner workings of Terraform during execution.
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged, but they are sent to the standard error (stderr) stream by default, not to standard output (stdout). To redirect or persist these logs, you can use additional configurations such as TF_LOG_PATH to specify a file for logging.
"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
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."
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
meallhour
Highly Voted 1 year, 6 months agoMohameDaft
Highly Voted 1 year agobora4motion
6 months, 3 weeks ago57ee09c
Most Recent 1 month, 1 week agogeekos
1 month, 4 weeks agouax
1 year, 4 months agoakm_1010
1 year, 6 months agoRajmane
1 year, 7 months agosuchar
1 year, 7 months ago