Difference between revisions of "Terraform debugging: TF LOG"
Jump to navigation
Jump to search
m (Newworld3 moved page Terraform Debugging: TF LOG to Terraform debugging: TF LOG) Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
* https://www.terraform.io/internals/debugging | * https://www.terraform.io/internals/debugging | ||
− | |||
− | |||
To enable debugging set<code>[[TF_LOG]]</code> variable to any of these values <code>TRACE, DEBUG, INFO, WARN</code> or <code>ERROR</code> | To enable debugging set<code>[[TF_LOG]]</code> variable to any of these values <code>TRACE, DEBUG, INFO, WARN</code> or <code>ERROR</code> | ||
It will send log to <code>[[stderr]]</code>. | It will send log to <code>[[stderr]]</code>. |
Revision as of 08:25, 16 March 2023
To enable debugging setTF_LOG
variable to any of these values TRACE, DEBUG, INFO, WARN
or ERROR
It will send log to stderr
.
Example:
export TF_LOG=INFO export TF_LOG=DEBUG
TF_LOG
required even whenTF_LOG_PATH
is set.TF_LOG_PATH
Related
See also
Advertising: