shvc / s3cli

Command line tool for S3
MIT License
31 stars 5 forks source link

debug log #8

Closed shvc closed 4 years ago

shvc commented 4 years ago

support debug log

shvc commented 4 years ago

debug log

2019/11/04 22:26:52 DEBUG: Request Amazon S3/ListObjects Details:
---[ REQUEST POST-SIGN ]-----------------------------
GET /open?delimiter=&marker=&max-keys=1000&prefix= HTTP/1.1
Host: 192.168.55.2:9000
User-Agent: aws-sdk-go/0.15.0 (go1.13.4; darwin; amd64)
Authorization: AWS4-HMAC-SHA256 Credential=object_user1/20191104/cn-north-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=89bcf3730d0572a52c4ed4bccdc283b68ba5e86392792abb5e01d24a39c69e55
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20191104T142652Z
Accept-Encoding: gzip
-----------------------------------------------------
2019/11/04 22:26:52 DEBUG: Response Amazon S3/ListObjects Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Content-Length: 4658
Accept-Ranges: bytes
Content-Security-Policy: block-all-mixed-content
Content-Type: application/xml
Date: Mon, 04 Nov 2019 14:26:52 GMT
Server: MinIO/RELEASE.2019-10-12T01-39-57Z
Vary: Origin
X-Amz-Request-Id: 15D3FBDAE58E9D6D
X-Xss-Protection: 1; mode=block
-----------------------------------------------------