# Step 4: Configure DCM logs

A `Custom` object called DCM Application Logs captures all application logs for the Salesforce Lightning app.

{% hint style="info" %}
The default Logging Level is always set to ERROR. Set the default Logging Level to WARN in production. Valid values for the Logging Level include DEBUG, INFO, WARN, and ERROR.
{% endhint %}

The Logging framework comes with options to configure the Logging Level and Retention Days at the Org Level, Profile Level, and User Level.

1. Click **Setup** ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/ugAkYdnhfyrtrCqBkpBl/Setup.png) and select **Setup** from the dropdown list.\
   ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/4IMOnL7vU64jac9Uveds/Page%20layout%201.png)
2. Type `Custom Settings` in the **Quick Find** field and click **Custom Settings**.\
   ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/TJZ0VFhaSAg7f7yO6ax9/Quick%20Find%20-%20Custom%20Settings.png)
3. Click **Manage** next to the **Digital River - Logger Settings** link under **Label**.\
   ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/PrJYQvZK8mLOQxTeTMNC/Custom%20Settings.png)
4. Click **New** to configure the logger settings.\
   ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/cBqojJgDRsql1OGRQALA/Default%20Organization%20Level%20Values.png)
5. Select either **Profile** or **User** from the **Location** dropdown, click the **Location Lookup** ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/cB2UtqxShByJWAjYRY0e/Location%20Search.png) icon, and then click the appropriate profile or user from the **Lookup** list.![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/5Ejc8UkEfPt1PXknLVzj/Lookup.png)
6. Enter values for the **Logging level** and **Retention Days**. Valid values for the Logging Level include **DEBUG**, **INFO**, **WARN**, **ERROR**, and **NONE**.\
   ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/Uo7u0cdB1oRRx29a0bxW/Digital%20River%20-%20Logger%20Settings%20Edit.png)
7. Optional. Enter the number of days to retain the log record in the **Retention Days** field.
8. Click **Save**.
