Skip to content

Commit

Permalink
website: Add TF_LOG_SDK_FRAMEWORK to managing log output page (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Apr 5, 2023
1 parent 4aeb371 commit 005ecf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/docs/plugin/log/managing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The following environment variables turn on logging and can help you filter log
| `TF_LOG_PROVIDER_{PROVIDER_NAME}` (e.g., `TF_LOG_PROVIDER_AWS`)| Specific provider | Only applies to providers that write logs using the `tflog` package. Does not affect logs written by legacy `log.Print*` functions. |
|`TF_LOG_SDK` | All SDKs for providers used during the run | Only applies to logs written with `terraform-plugin-log`. For remaining SDKV2 logs, use `TF_LOG` or `TF_LOG_PROVIDER`. |
| `TF_LOG_SDK_PROTO` | Protocol layer logging for providers built on [`terraform-plugin-go`](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-go). | Overrides `TF_LOG_SDK`. |
| `TF_LOG_SDK_FRAMEWORK`| [`terraform-plugin-framework`](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-framework) | Overrides `TF_LOG_SDK`. |
| `TF_LOG_SDK_HELPER_SCHEMA`| [`terraform-plugin-sdk/v2`](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema) `helper/schema` package | Overrides `TF_LOG_SDK`. Only applies to logs written with `terraform-plugin-log`. For remaining SDKV2 logs, use `TF_LOG` or `TF_LOG_PROVIDER`. |
|`TF_LOG_SDK_MUX`| [`terraform-plugin-mux`](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-mux)| Overrides `TF_LOG_SDK`.

Expand Down

0 comments on commit 005ecf2

Please sign in to comment.