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."
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, 8 months agoMohameDaft
Highly Voted 1 year, 1 month agobora4motion
8 months ago57ee09c
Most Recent 2 months, 3 weeks agogeekos
3 months, 1 week agouax
1 year, 5 months agoakm_1010
1 year, 8 months agoRajmane
1 year, 8 months agosuchar
1 year, 8 months ago