Bucket Logging
GET https://s3.amazonaws.com/{{bucket}}/?logging
Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
logging | null |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-amz-content-sha256 | string |
RESPONSES
status: OK
"\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cBucketLoggingStatus xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"\u003e\n \u003c!--\u003cLoggingEnabled\u003e\u003cTargetBucket\u003emyLogsBucket\u003c/TargetBucket\u003e\u003cTargetPrefix\u003eadd/this/prefix/to/my/log/files/access_log-\u003c/TargetPrefix\u003e\u003c/LoggingEnabled\u003e--\u003e\n\u003c/BucketLoggingStatus\u003e"