docker-archive / for-aws

92 stars 26 forks source link

When debugging is enabled for the Cloudstor plugin, set the AWS SDK log level to LogDebugWithHTTPBody #202

Open rhowe opened 4 years ago

rhowe commented 4 years ago

Expected behavior

When DEBUG=1 is set for the plugin, the debug logs should log the AWS request bodies so that it's possible to see what requests are being made to the AWS APIs.

Actual behavior

Currently just the request and response headers are logged

Information

https://docs.aws.amazon.com/sdk-for-go/api/aws/#LogLevelType