Skill 7.3.1
Enabling verbose logging
Key Concepts
Set TF_LOG to TRACE, DEBUG, INFO, WARN or ERROR, in decreasing order of detail. TRACE is the most verbose and the level to use for bug reports. TF_LOG=JSON produces TRACE-level output in JSON format. Logs go to standard error unless TF_LOG_PATH names a file, which has an effect only when logging is enabled.
TF_LOG_CORE and TF_LOG_PROVIDER set levels separately for Terraform core and for provider plugins, which helps when only one side is relevant. Unset the variables, or set TF_LOG=OFF, to return to normal output.