You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, terraform debug output is a bit chatty and harder to look at for less advanced users to troubleshoot API call sequences because of full name of provider executable is prepended to each line of output:
Remove plugin.terraform-provider- & provider version from prefix (or remove it completely... or add a flag to optionally keep it)
Remove double-timestamping lines 2020-09-17T10:27:54.841-0400 [DEBUG] plugin.terraform-provider-aws_v3.6.0_x5: 2020/09/17 10:27:54 [DEBUG] Trying to get account information via sts:GetCallerIdentity by perhaps adjusting SDK
Alternatively, there could be an option just to forward logs at specified level from providers directly.
Terraform is not using structured logging throughout via #26632, #26665, #26685 and #26694.
Terraform cannot control what the providers chose to log, but separate loggers should help when a user is only interested in on of the log streams. Updates to the go-plugin and provider sdk packages can help providers better control their output.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Dec 6, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, terraform debug output is a bit chatty and harder to look at for less advanced users to troubleshoot API call sequences because of full name of provider executable is prepended to each line of output:
Proposal
plugin.terraform-provider-
& provider version from prefix (or remove it completely... or add a flag to optionally keep it)2020-09-17T10:27:54.841-0400 [DEBUG] plugin.terraform-provider-aws_v3.6.0_x5: 2020/09/17 10:27:54 [DEBUG] Trying to get account information via sts:GetCallerIdentity
by perhaps adjusting SDKAlternatively, there could be an option just to forward logs at specified level from providers directly.
The text was updated successfully, but these errors were encountered: