# Enabling App Service Logs

Following are the steps to Enable App Service Logging and Log stream.

### App Service Logs

1. Select Inforiver web app.
2. On the left side menu, click **App Service logs** under **Monitoring** section.

<figure><img src="/files/AdUiOGvGjMQE2HkGPkg1" alt=""><figcaption><p><strong>Enable App Service Logs</strong></p></figcaption></figure>

3. In **Application logging** bar on the righ&#x74;**,** select **File System**.
4. In **Quota (MB)**, specify the disk quota for the application logs.
5. In **Retention Period (Days)**, set the number of days the logs should be retained. A minimum of 30 days is a good practice to keep the logs.&#x20;
6. When finished, select **Save**.

To stream logs, you can select **Log stream** menu on the left.


---

# 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.inforiver.com/inforiver-enterprise-on-prem/how-to-guides/enabling-app-service-logs.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.
