TA-002-P · Question #122
When TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled.
The correct answer is B. True. TF_LOG_PATH specifies where the log should persist its output to. Note that even when TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled. For example, to always write the log to the directory you're currently running terraform from: export…
Question
When TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled.
Options
- AFalse
- BTrue
How the community answered
(21 responses)- A10% (2)
- B90% (19)
Explanation
TF_LOG_PATH specifies where the log should persist its output to. Note that even when TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled. For example, to always write the log to the directory you're currently running terraform from: export TF_LOG_PATH=./terraform.log export TF_LOG=TRACE
Topics
Community Discussion
No community discussion yet for this question.