> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/troubleshooting-articles/iis-web-site-logging.md).

# IIS web site logging

Here is the description of desired settings when we troubleshoot a performance/connectivity issue related to the client application.

### IIS Web Site Logging

1. Open IIS Manager and go in the ***Logging*** settings.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4290.png" alt=""><figcaption></figcaption></figure>
2. Click on ***Select Fields***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4291.png" alt=""><figcaption></figcaption></figure>
3. We recommend that at the very least the following fields be selected:

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4292.png" alt=""><figcaption></figcaption></figure>

### Application pool recycle

The application pool that is in fact running the instance can be restarted for a multitude of reasons. It may be useful to know when those recycles occur as well as the reasons. Go in the ***Application pools*** section of the IIS manager, then open the ***Advanced settings*** for your application pool. Enable all of the ***Recycle events***, it will create a log entry in the ***Windows Event Log***.

<figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4293.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.devolutions.net/server/knowledge-base/troubleshooting-articles/iis-web-site-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.
