Difference between revisions of "Terraform debugging: TF LOG"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
It will send log to <code>[[stderr]]</code>. | It will send log to <code>[[stderr]]</code>. | ||
Examples: | Examples: | ||
− | :[[export]] TF_LOG=TRACE | + | :<code>[[export]] TF_LOG=TRACE</code> |
− | :[[export]] TF_LOG=DEBUG | + | :<code>[[export]] TF_LOG=DEBUG</code> |
− | :[[export]] TF_LOG=INFO | + | :<code>[[export]] TF_LOG=INFO</code> |
− | :[[export]] TF_LOG=WARN | + | :<code>[[export]] TF_LOG=WARN</code> |
− | :[[export]] TF_LOG=ERROR | + | :<code>[[export]] TF_LOG=ERROR</code> |
Latest revision as of 08:29, 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
.
Examples:
TF_LOG
required even whenTF_LOG_PATH
is set.TF_LOG_PATH
Related[edit]
See also[edit]
Advertising: