# Enable or disable RDS logging

You can enable or disable logging for an RDS database at any time, using the DuploCloud Portal.

## Prerequisites

To update logging for an RDS, you must select the **Enable Logging** option when you [create the RDS](/docs/automation-platform/overview/aws-services/database/rds-database.md).

## Update RDS logging

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Databases**.
2. In the **RDS** tab, from the **Name** column, select the database for which you want to enable or disable logging.
3. Click the **Actions** menu, select **RDS Settings**, and then **Update Logging**. The **Update Logging** pane displays.<br>

   <figure><img src="/files/FZrfbVx8xXVG7vP9pifl" alt=""><figcaption><p><strong>Actions</strong> menu with <strong>Update Logging</strong> option</p></figcaption></figure>
4. Select or deselect **Enable Logging** to turn logging on or off, respectively.<br>

   <div align="left"><figure><img src="/files/jrMXDQV4wZxkmMlCoWCH" alt=""><figcaption><p><strong>Update logging</strong> pane</p></figcaption></figure></div>
5. Click **Update**.

View the status of the **EnableLogging** attribute in the **Details** tab.

<figure><img src="/files/jc9xlSnI5EFhySjOv5uF" alt=""><figcaption><p><strong>Details</strong> tab with <strong>EnableLogging</strong> attribute</p></figcaption></figure>


---

# 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/aws-services/database/rds-database/enable-or-disable-rds-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.
