Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is TF_LOG deprecated? #27938

Closed
arvidgloot opened this issue Feb 26, 2021 · 2 comments
Closed

Is TF_LOG deprecated? #27938

arvidgloot opened this issue Feb 26, 2021 · 2 comments
Labels
bug new new issue not yet triaged

Comments

@arvidgloot
Copy link

Terraform Version

0.14.4

Expected Behavior

According to the docs, setting TF_LOG to WARN should decrease Terraform log level. However, doing so fires a warning that such log level is unreliable. What's the purpose of having the log levels? Have they been deprecated? I think the docs could clarify a bit here. What is the best approach to keep the log level down? Should we use something as suggested in #27214?

Actual Behavior

[WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.

Steps to Reproduce

Set TF_LOG to WARN and run any terraform command.

Additional Context

References

@arvidgloot arvidgloot added bug new new issue not yet triaged labels Feb 26, 2021
@jbardin
Copy link
Member

jbardin commented Feb 26, 2021

Hi @arvidviderberg

The fix for this was initiated in #26632, and is part of the 0.15 release: https://github.com/hashicorp/terraform/blob/v0.15/CHANGELOG.md

Thanks!

@jbardin jbardin closed this as completed Feb 26, 2021
@ghost
Copy link

ghost commented Mar 29, 2021

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 ghost locked as resolved and limited conversation to collaborators Mar 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug new new issue not yet triaged
Projects
None yet
Development

No branches or pull requests

2 participants