Home » HashiCorp » Terraform Associate » When TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled.
When TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled.
A. False
B. True
Correct Answer: B
Explanation/Reference:
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
Download Printable PDF. VALID exam to help you PASS.
|
|