> 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/de/knowledge-base/troubleshooting-articles/iis-web-site-logging.md).

# IIS-Website-Protokollierung

Beschreibt empfohlene Protokollierungsfelder für IIS-Websites und die Protokollierung von Ereignissen beim Recycling des Anwendungspools zur Fehlerbehebung bei Leistungsproblemen von Devolutions Serve

Hier finden Sie die Beschreibung der gewünschten Einstellungen, wenn wir ein Leistungs-/Konnektivitätsproblem im Zusammenhang mit der Client-Anwendung beheben.

### IIS-Website-Protokollierung

1. Öffnen Sie den IIS-Manager und gehen Sie zu den Einstellungen ***Protokollierung***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4290.png" alt=""><figcaption></figcaption></figure>
2. Klicken Sie auf ***Felder auswählen***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4291.png" alt=""><figcaption></figcaption></figure>
3. Wir empfehlen, mindestens die folgenden Felder auszuwählen:
   * Uhrzeit (`time`)
   * Client-IP-Adresse (`c-ip`)
   * Benutzername (`cs-username`)
   * Server-IP-Adresse (`s-ip`)
   * Serverport (`s-port`)
   * Methode (`cs-method`)
   * URI-Stamm (`cs-uri-stem`)
   * URI-Abfrage (`cs-uri-query`)
   * Protokollstatus (`sc-status`)
   * Protokoll-Unterstatus (`sc-substatus`)
   * Win32-Status (`sc-win32-status`)
   * Benötigte Zeit (`time-taken`)
   * Benutzeragent (`cs(User-Agent)`)
   * Referer (`cs(Referer)`)

### Recycling des Anwendungspools

Der Anwendungspool, der die Instanz tatsächlich ausführt, kann aus einer Vielzahl von Gründen neu gestartet werden. Es kann nützlich sein zu wissen, wann diese Recyclings auftreten und aus welchen Gründen. Gehen Sie in den Bereich ***Anwendungspools*** des IIS-Managers und öffnen Sie dann die ***Erweiterten Einstellungen*** für Ihren Anwendungspool. Aktivieren Sie alle ***Recyclingereignisse***, dadurch wird ein Protokolleintrag im ***Windows-Ereignisprotokoll*** erstellt.

<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, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/server/de/knowledge-base/troubleshooting-articles/iis-web-site-logging.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
