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

provider/openstack: Enable HTTP Logging #12089

Merged
merged 1 commit into from Feb 20, 2017

Conversation

jtopjian
Copy link
Contributor

This commit adds the ability to log all requests and responses
between Terraform and the OpenStack cloud. To enable, set the
OS_DEBUG environment variable to 1.

This implementation is based off of the Rackspace CLI.

For #11868

This commit adds the ability to log all requests and responses
between Terraform and the OpenStack cloud. To enable, set the
OS_DEBUG environment variable to 1.
@jtopjian jtopjian changed the title Enable OpenStack HTTP Logging provider/openstack: Enable HTTP Logging Feb 19, 2017
@stack72
Copy link
Contributor

stack72 commented Feb 20, 2017

LGTM! Thanks :)

@stack72 stack72 merged commit 1b5694b into hashicorp:master Feb 20, 2017
stack72 pushed a commit that referenced this pull request Feb 20, 2017
This commit adds the ability to log all requests and responses
between Terraform and the OpenStack cloud. To enable, set the
OS_DEBUG environment variable to 1.
fatmcgav pushed a commit to fatmcgav/terraform that referenced this pull request Feb 27, 2017
This commit adds the ability to log all requests and responses
between Terraform and the OpenStack cloud. To enable, set the
OS_DEBUG environment variable to 1.
@ihr
Copy link

ihr commented Mar 3, 2017

@jtopjian apologies for the question, but when I set OS_DEBUG=1 terraform apply ... I don't get any debug only the openstack_compute_instance_v2.terraform: Error creating OpenStack server: Invalid request due to incorrect syntax or missing required parameters. What am I missing?

@jtopjian
Copy link
Contributor Author

jtopjian commented Mar 3, 2017

@ihr You have to combine OS_DEBUG=1 with TF_LOG=DEBUG :)

@ihr
Copy link

ihr commented Mar 3, 2017

Thank you @jtopjian , indeed TF_LOG=DEBUG OS_DEBUG=1 terraform apply ... does the magic.

@ghost
Copy link

ghost commented Apr 16, 2020

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.

@hashicorp hashicorp locked and limited conversation to collaborators Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants