---
title: "3—Logging"
slug: "logging"
description: "Logging creates a text log file of all access to a bucket. Learn to create a bucket with logging."
updated: 2026-03-06T16:44:33Z
published: 2026-03-06T16:44:33Z
canonical: "docs.wasabi.com/logging"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 3—Logging

When Bucket logging is enabled, a text log file will be maintained of all access to the bucket. This provides details about the types of access requests made, requested resources, and the date/time of processed requests. You can enable bucket logging:

- While creating a bucket, as described below.
- After a bucket has been created (that is, for an existing bucket displayed in the Buckets list), as described in Bucket Settings: [Logging](https://docs.wasabi.com/docs/bucket-logging-enabledisable)

> Wasabi recommends using a separate bucket to store logging data. Keeping logs in a different bucket:
> 
> - Avoids infinite looping that usually increases the bucket size.
> - Makes it easier to access, manage, and troubleshoot log files without mixing them with regular data stored in the source bucket.
> - Helps improve clarity, organization, and performance when reviewing access patterns.

> **Use logging cautiously because when logging is enabled, all log files are saved. This means the costs could be high, eventually, as log files are stored. For additional information, refer to**[**Wasabi Pricing**](https://wasabi.com/cloud-storage-pricing/)**.**

Wasabi does not have a Service Level Agreement (SLA) to deliver bucket logs. As such, logging occurs at maximum effort, but Wasabi does not guarantee a specific result.

## Creating a Bucket With Logging

By default, the option to set the bucket logging feature is suspended (*not*enabled). To enable bucket logging:

1. Complete the Bucket Name section for creating a new bucket by entering a bucket name and selecting a region for storage. Click **Next**.
2. In the Set Properties section, set [Bucket Versioning](https://docs.wasabi.com/docs/versioning) and [Object Lock](https://docs.wasabi.com/docs/object-locking), if appropriate. Click **Next**.
3. Slide to enable the **Bucket Logging** toggle: ![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/image-1718223333786.png)
4. Enter a logging prefix to include in the log file name (wdgt99 in the example below). Each log file will start with the characters you enter.
5. Select a target bucket in which to store log files. Click the down arrow to select from a list of target buckets.

In the following example, log file names will begin with "wdgt99” and the files will be stored in the widget-schematics target bucket.

![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/image-1718217033558.png)
6. Click **Next**.
7. Optionally, set [Replication](https://docs.wasabi.com/docs/bucket-replication) and [Tags](https://docs.wasabi.com/docs/object-tags). Or, click **Next**until you reach the Review panel, as shown below.
8. Click **Next**.
9. The bucket properties are displayed for your review. You can click **Back** if you need to change any information. Otherwise, click **Create Bucket**to accept the information and create the bucket.

![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/image-1718217157834.png)

A message displayed at the top of your screen indicates that the bucket was created successfully.

## Enabling Compliance Bucket Logging

When compliance [bucket logging is enabled](https://docs.wasabi.com/v1/docs/compliance-logging), you can set it for a bucket. When creating a bucket, you will see an option to create a comprehensive text log in a format designed to meet compliance needs.

![](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/image-1719265068970.png)

## Enabling Logging for an Existing Bucket

You can enable logging after the bucket is created. To do so, refer to Bucket Settings: [Logging](https://docs.wasabi.com/docs/bucket-logging-enabledisable) for more information about bucket settings and logging.
