# Enable Non-Default Tenant logging

Enable logging to deploy AWS Log Collector to collect logs for selected Tenant(s). Once logging is enabled for Tenant(s), you can configure log collection, tailoring your log data to display only relevant information.

## Prerequisites

* Before configuring logging per Tenant, [set up central logging](https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/central-logging/central-logging-setup) for the Default Tenant.

## Enabling Logging for Non-Default Tenants

Configure AWS Log Collector to collect logs for non-Default Tenants.

1. From the DuploCloud Portal, navigate to **Administrator** -> **Observability** -> **Standard** -> **Settings**. &#x20;
2. Select the **Logging** tab, and click **Add**. The **Enable Logging** pane displays.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FB2ra1eFYGgZBEBuZYUTA%2Fnewnew.png?alt=media&#x26;token=306de51d-1532-449f-9dd5-7f8ee188caad" alt=""><figcaption><p>The <strong>Enable Logging</strong> pane in the DuploCloud Portal</p></figcaption></figure>

3. In the **Select Tenant** list box, select the Tenant for which you want to enable log collection.&#x20;
4. In the **Cert ARN** list box, select the correct ARN.&#x20;
5. In the **Log retention in Index(Days)** field, enter the number of days logs should be retained.&#x20;
6. Click **Submit**. Log collection for the selected Tenant deploys based on the [Control Plane configuration](https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/custom-log-collection#updating-the-control-plane-by-editing-the-service-description).<br>

   <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FSFS8l5an9jKL5VWdvJyE%2Fimage.png?alt=media&#x26;token=580e27a3-3ed6-48c2-949f-c3ab8d065ee6" alt=""><figcaption><p>The <strong>Logging</strong> tab on the <strong>Observability Settings</strong> page in the DuploCloud Portal</p></figcaption></figure>

Once logging is enabled, you can [configure logging per Tenant](https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/central-logging/configure-logging-per-tenant).
