Debug参数开启控制台输出debug信息。 示例:输出ls命令的详细debug信息。
mc --debug ls play mc: <DEBUG> GET / HTTP/1.1 Host: play.min.io User-Agent: MinIO (darwin; amd64) minio-go/1.0.1 mc/2016-04-01T00:22:11Z Authorization: AWS4-HMAC-SHA256 Credential=**REDACTED**/20160408/us-east-1/s3/aws4_request, SignedHeaders=expect;host;x-amz-content-sha256;x-amz-date, Signature=**REDACTED** Expect: 100-continue X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 X-Amz-Date: 20160408T145236Z Accept-Encoding: gzip mc: <DEBUG> HTTP/1.1 200 OK Transfer-Encoding: chunked Accept-Ranges: bytes Content-Type: text/xml; charset=utf-8 Date: Fri, 08 Apr 2016 14:54:55 GMT Server: MinIO/DEVELOPMENT.2016-04-07T18-53-27Z (linux; amd64) Vary: Origin X-Amz-Request-Id: HP30I0W2U49BDBIO mc: <DEBUG> Response Time: 1.220112837s [...]
|