Enable Server Access Logs on S3 Bucket
- Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
- In the Bucket name list, choose the name of the bucket that you want to enable versioning for
- Choose Properties.
- Choose Server access logging.
- Choose Enable Logging. For Target, choose the name of the bucket that you want to receive the log record objects. The target bucket must be in the same Region as the source bucket and must not have a default retention period configuration.
- (Optional) For Target prefix, type a key name prefix for log objects, so that all of the log object names begin with the same string.
- Choose Save.