Menu
Amazon Simple Storage Service
Developer Guide (API Version 2006-03-01)

Enabling Logging Using the Console

To enable logging (see Server Access Logging) the Amazon S3 console provides a Logging section in the bucket Properties:

When you enable logging on a bucket the console will both enable logging on the source bucket and add a grant in the target bucket's ACL granting write permission to the Log Delivery group.

To enable logging on a bucket

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. Under All Buckets, click the bucket for which access requests will be logged.

  3. In the Details pane, click Properties

  4. Under Logging, do the following:

    • Select the Enabled check box

    • In the Target Bucket box, click the name of the bucket that will receive the log objects.

    • (optional) To specify a key prefix for log objects, in the Target Prefix box, type the prefix that you want.

  5. Click Save.

To disable logging on a bucket

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. Under All Buckets, click the bucket for which access requests will be logged.

  3. In the Details pane, click Properties Under Logging, clear the Enabled check box.

  4. Click Save.

For information about enable logging programmatically, see Enabling Logging Programmatically.

For information about the log record format, including the list of fields and their descriptions, see Server Access Log Format.