# 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](/docs/automation-platform/overview/use-cases/central-logging/central-logging-setup.md) 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**.
2. Select the **Logging** tab, and click **Add**. The **Enable Logging** pane displays.

<figure><img src="/files/LYwDWq1L87MZi7sONMkc" 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.
4. In the **Cert ARN** list box, select the correct ARN.
5. In the **Log retention in Index(Days)** field, enter the number of days logs should be retained.
6. Click **Submit**. Log collection for the selected Tenant deploys based on the [Control Plane configuration](/docs/automation-platform/overview/use-cases/central-logging/custom-log-collection.md#updating-the-control-plane-by-editing-the-service-description).<br>

   <figure><img src="/files/S1R01ZinkdW7UOBHKsql" 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](/docs/automation-platform/overview/use-cases/central-logging/configure-logging-per-tenant.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/central-logging/enable-non-default-tenant-logging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
