# Step 4: Configure DCM logs

All Salesforce Lightning app application logs are captured in a Custom object called DCM Application Logs.

{% 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. &#x20;
{% 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. In the **Setup** menu, open **Custom Settings**, then click the **Digital River - Logger Settings** object. \ <img src="https://4095141294-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MS-2crEBZIcuq_A3pl1%2F-Me_mr8nJVd9GHV2XSy0%2F-Me_o8-LldgREKGXyS92%2FDCM%20log%201.jpg?alt=media&#x26;token=42caaf5a-813f-414a-8c37-10e860401bed" alt="" data-size="original">&#x20;
2. Click **Manage**. \ <img src="https://4095141294-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MS-2crEBZIcuq_A3pl1%2F-Me_mr8nJVd9GHV2XSy0%2F-Me_oJDwL7dtXq0Alb1r%2FDCM%20log%202.jpg?alt=media&#x26;token=df5f06cb-31b2-4f89-bd38-5c0a17657df8" alt="" data-size="original">&#x20;
3. Click **New** to enter the **Default Organization Level Value**.\
   &#x20;<img src="https://4095141294-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MS-2crEBZIcuq_A3pl1%2F-Me_mr8nJVd9GHV2XSy0%2F-Me_ocTNMxbEGulq1Zig%2FDCM%20log%203.jpg?alt=media&#x26;token=da672142-849a-42bf-a8dc-fbc91dc553d9" alt="" data-size="original">&#x20;
4. Enter values for the **Logging level** and **Retention Days**. Valid values for the Logging Level include **DEBUG**, **INFO**, **WARN**, and **ERROR**.  \ <img src="https://4095141294-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MS-2crEBZIcuq_A3pl1%2F-Me_qWLu-B1XlbuszSQg%2F-Me_qnri_3iiq7aqQWf0%2FDCM%20log%204.jpg?alt=media&#x26;token=c4a15ee4-1a80-48e3-b015-14288a9aac7f" alt="" data-size="original">&#x20;
5. Click **Save**.
6. Click **New** in the **Default Organization Level Value** section to configure the logging level at the **Profile** or **User** level. \ <img src="https://4095141294-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MS-2crEBZIcuq_A3pl1%2F-Me_qrca0slgNHROWYg0%2F-Me_quDN1tz8OYcn08_r%2FDCM%20log%205.jpg?alt=media&#x26;token=17aa44f4-d123-4072-ba7f-cab9ecbf02d6" alt="" data-size="original">&#x20;
7. Select **Profile** or **User** in the **Location** field.
8. Enter values for the **Logging level** and **Retention days**. Valid values for the Logging Level include **DEBUG**, **INFO**, **WARN**, and **ERROR**.  \ <img src="https://4095141294-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MS-2crEBZIcuq_A3pl1%2F-Me_rQ0mrRA6CRiUK9kc%2F-Me_raqGaNH01acBx-tq%2FDCM%20log%207.jpg?alt=media&#x26;token=ee57fb92-fcff-4992-bd1a-d2d36132999b" alt="" data-size="original"> &#x20;
9. Click **Save**.

<br>
