> For the complete documentation index, see [llms.txt](https://karansingh.gitbook.io/aws-saa-c02/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://karansingh.gitbook.io/aws-saa-c02/advanced-s3-and-athena/access-logs.md).

# Access Logs

* Server access logging **provides detailed records for the requests that are made to a bucket**.<br>

* Server access logs are **useful for many applications**.

  * For example, access log information can be **useful in security and access audits**.
  * It can also **help you learn about your customer base and understand your S3 bill**.

* To **enable logging:**
  1. **Turn on logging on the Amazon S3 bucket that you want to monitor**, this is called the **source bucket**.<br>
  2. Grant the Amazon S3 Log Delivery group write permission on the **bucket where you want the access logs saved**, this is called the **target bucket**.
