for-aws
for-aws copied to clipboard
When debugging is enabled for the Cloudstor plugin, set the AWS SDK log level to LogDebugWithHTTPBody
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