# 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://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2F5RxYGEePRaQ9r7NgmTjd%2FDCM%20log%201.jpg?alt=media&#x26;token=8eb5c90f-cfe8-438b-b4ca-f4aba50782fc" alt="" data-size="original">&#x20;
2. Click **Manage**. \ <img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FrqCaP8L1M9OFJBPXjW3F%2FDCM%20log%202.jpg?alt=media&#x26;token=69eb009f-a8b6-4277-adff-e195f81c7f46" alt="" data-size="original">&#x20;
3. Click **New** to enter the **Default Organization Level Value**.\
   &#x20;<img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FlPPdoOxvs2kk5xK9dXpL%2FDCM%20log%203.jpg?alt=media&#x26;token=9b775edb-0515-41ea-8af7-979dac6a7c8e" 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://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FnMKfoIqN8m0VumCgnw6S%2FDCM%20log%204.jpg?alt=media&#x26;token=256f2bdb-7c0b-4c32-93f5-5cbe910a5f9d" 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://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2F0HDyAH1mPblvZqkVhf5L%2FDCM%20log%205.jpg?alt=media&#x26;token=359164b9-7e9f-48cc-8f79-46c9a126a0e9" 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://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FEF7s5qhPDagljMUV0uc2%2FDCM%20log%207.jpg?alt=media&#x26;token=79a900cb-1dc3-45ad-a961-496854ea00a8" alt="" data-size="original"> &#x20;
9. Click **Save**.
