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

Print AWS request information to debug log #2179

Closed
phinze opened this issue Jun 1, 2015 · 3 comments
Closed

Print AWS request information to debug log #2179

phinze opened this issue Jun 1, 2015 · 3 comments

Comments

@phinze
Copy link
Contributor

phinze commented Jun 1, 2015

Back in goamz days the debug log could be used to ensure the proper data was going over the wire to AWS. As we switched to aws-sdk-go, all of the struct members are now pointers, which makes the debug output basically just a bunch of memory addresses.

[DEBUG] ELB create configuration: &elb.CreateLoadBalancerInput{AvailabilityZones:[]*string{(*string)(0xc208d85fc0), (*string)(0xc208d85fd0), (*string)(0xc208d85fe0), (*string)(0xc208d85ff0)}...

We should figure out how to get these structs to print to the log nicely and make a sweep of the AWS provider.

@clstokes
Copy link
Contributor

Perhaps related to #2875?

@phinze
Copy link
Contributor Author

phinze commented Oct 14, 2015

This was actually just related to aws/aws-sdk-go#299 and our using it to get pretty request / response information into the debug log. We do this now for AWS resources.

Specific instances of cryptic error messaging are good to track as individudal cases.

@phinze phinze closed this as completed Oct 14, 2015
@ghost
Copy link

ghost commented Apr 30, 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.

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

No branches or pull requests

2 participants