GET /?logging HTTP 1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: GMT DateAuthorization: Auth String
<BucketLoggingStatus><LoggingEnabled><TargetBucket>examplebucket-1250000000</TargetBucket><TargetPrefix>prefix</TargetPrefix></LoggingEnabled></BucketLoggingStatus>
节点名称(关键字) | 父节点 | 描述 | 类型 |
BucketLoggingStatus | 无 | 存储桶日志状态信息 | Container |
节点名称(关键字) | 父节点 | 描述 | 类型 |
LoggingEnabled | BucketLoggingStatus | 存储桶日志记录配置详细信息 | Container |
节点名称(关键字) | 父节点 | 描述 | 类型 |
TargetBucket | LoggingEnabled | 存放日志的目标存储桶,可以是同一个存储桶(但不推荐),或同一账户下、同一地域的存储桶 | String |
TargetPrefix | LoggingEnabled | 日志存放在目标存储桶的指定路径 | String |
GET /?logging HTTP 1.1Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comDate: Wed, 28 Oct 2017 21:32:00 GMTAuthorization: q-sign-algorithm=sha1&q-ak=AKIDWtTCBYjM5O****&q-sign-time=1484815944;32557711944&q-key-time=1484815944;32557711944&q-header-list=host&q-url-param-list=accelerate&q-signature=a2d28e1b9023d09f9277982775a4b3b705d0****
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 142Connection: keep-aliveDate: Wed, 28 Oct 2017 21:32:00 GMTServer: tencent-cosx-cos-request-id: NTg4MDdlNGZfNDYyMDRlXzM0YWFf****<BucketLoggingStatus><LoggingEnabled><TargetBucket>examplebucket-1250000000</TargetBucket><TargetPrefix>prefix</TargetPrefix></LoggingEnabled></BucketLoggingStatus>
本页内容是否解决了您的问题?