Question 1 · choose 1
A provider returns a vague error, and support asks for the most detailed Terraform log possible. Which setting gives the most verbose output?
- ATF_LOG=TRACE
- BTF_LOG=DEBUG
- CTF_LOG=ERROR
- DTF_LOG=VERBOSE
Show the answer and why
ATF_LOG=TRACE
Correct
TF_LOG accepts TRACE, DEBUG, INFO, WARN and ERROR in decreasing order of verbosity.
BTF_LOG=DEBUG
Incorrect
DEBUG is one level less verbose than TRACE.
CTF_LOG=ERROR
Incorrect
ERROR is the least verbose level.
DTF_LOG=VERBOSE
Incorrect
VERBOSE is not a log level.
TRACE, DEBUG, INFO, WARN, ERROR: most to least verbose.
HashiCorp documentation