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

Allow enable more verbose debug for s3 #2043

Closed
maxcnunes opened this issue Nov 8, 2016 · 1 comment
Closed

Allow enable more verbose debug for s3 #2043

maxcnunes opened this issue Nov 8, 2016 · 1 comment

Comments

@maxcnunes
Copy link

When I was investigating the problem with #2033.
I had quite work to get the request/response done to the aws s3.
I used the mitmproxy. But it was a bit complicated to get that working due ssl certs.
The simplest solution and that gave me a better result was enabling the LogDebugWithHTTPBody on registry/storage/driver/s3-aws/s3.go:

awsConfig := aws.NewConfig()
awsConfig.WithLogLevel(aws.LogDebugWithHTTPBody)

Is pretty easy to see how the requests/responses are being done once that log is enabled.

I think would be great have this log enabled when the distribution config has log.level: debug. If this feature is approved I am interested in implementing this change.

openshift-merge-robot added a commit to openshift/docker-distribution that referenced this issue Feb 9, 2021
UPSTREAM: docker/distribution: 3057: allow for optional S3 debugging -- closes issue distribution#2043
bverschueren pushed a commit to bverschueren/docker-distribution that referenced this issue Apr 26, 2021
recent S3 storage issues made it very useful to be able to enable S3 API debug logging; contributing those simple enhancements back to the project; closes issue distribution#2043 from 2016
dmage pushed a commit to openshift/docker-distribution that referenced this issue Nov 24, 2022
recent S3 storage issues made it very useful to be able to enable S3 API debug logging; contributing those simple enhancements back to the project; closes issue distribution#2043 from 2016
@milosgajdos
Copy link
Member

Closing, addressed in #4076

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants