> 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/enable-the-recording-server-log.md).

# Das Protokoll des Aufzeichnungsservers aktivieren

{% hint style="info" %}
Diese Version des Recording Servers wird nicht mehr unterstützt.
{% endhint %}

Das folgende Verfahren beschreibt, wie das Protokollierungswerkzeug für den Devolutions Server ***Recording Server*** aktiviert wird.

### Protokolle aktivieren

1. Um die Datei **log4net.config** zu bearbeiten, klicken Sie auf die Schaltfläche ***Explore*** im Abschnitt ***Recording Server*** der Registerkarte ***Companions*** in der Devolutions Server Console.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB8120.png" alt=""><figcaption></figcaption></figure>
2. Setzen Sie den Parameter für den Dateiwert auf den vollständigen Pfad der Protokolldatei. Stellen Sie sicher, dass die Backslashes verdoppelt sind.

{% hint style="warning" %}
Stellen Sie sicher, dass der Zielordner für die Protokolle Schreibrechte besitzt.
{% endhint %}

3. Setzen Sie den Parameter für den Level-Wert auf ALL.
4. Starten Sie nach jeder Änderung dieser Dateien sowohl den Collector- als auch den Processor-Dienst auf dem Server neu.

{% hint style="info" %}
Stellen Sie sicher, dass Sie den Level-Wert nach Abschluss der Untersuchung wieder auf ERROR setzen und die Dienste neu starten.
{% endhint %}

```
<?xml version="1.0" encoding="utf-8" ?>
<log4net>
  <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
    <file value="c:\\Logs\\collector.log" />
    <appendToFile value="true" />
    <maximumFileSize value="1MB" />
    <maxSizeRollBackups value="5" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%date %5level %logger.%method [%line] - MESSAGE: %message%newline %exception" />
    </layout>
  </appender>
  <root>
    <level value="ALL" />
    <appender-ref ref="RollingFile" />
  </root>
</log4net>
```


---

# 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/enable-the-recording-server-log.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.
