> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/de/fehlerbehebung-and-faq/troubleshooting/package-installation-issues/collecting-logfiles.md).

# Protokolldateien sammeln

Wie Sie die für die Problembehandlung erforderlichen Protokolldateien einfach sammeln

Es gibt zwei Hauptmethoden, um Logdateien einfach von einem betroffenen Gerät zu sammeln.\
Die Logs können entweder direkt auf dem Client oder remote mithilfe des [RealmJoin-Portal](https://portal.realmjoin.com).\
Beide Wege führen zur gleichen ZIP-Datei.

## Auf dem Client

Der einfachste Weg, die Logs zu sammeln, ist die integrierte *Logs sammeln* Funktion des RealmJoin-Clients:

1. Halten Sie `STRG+Umschalt` beim Klicken auf das RealmJoin-Symbol im Infobereich.
2. Wählen Sie `Debugfenster anzeigen` (2. Eintrag von unten).
3. Klicken Sie im RealmJoin-Debugfenster auf die `Logs sammeln` Schaltfläche.
4. Eine ZIP-Datei mit dem Namen `RealmJoin_Diagnostic.zip` wird auf dem Desktop des Benutzers erstellt.
5. Diese ZIP-Datei enthält alle wichtigen Protokolle zur Fehlerbehebung bei fehlgeschlagenen Installationen.

<figure><img src="https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F0Ddf7XTntmKTNZeveVpf%2Flogs-debug.png?alt=media&amp;token=873b2eac-8579-4e54-9d62-994066344b84" alt=""><figcaption><p>Logs auf dem Client mithilfe des RealmJoin-Debugfensters sammeln</p></figcaption></figure>

## Remote mithilfe des RealmJoin-Portals

Logdateien können auch remote mithilfe des RealmJoin-Portals angefordert werden.

{% hint style="info" %}
Damit diese Funktion funktioniert, muss der Client online sein und das RealmJoin-Tray aktiv sein. Außerdem müssen Sie warten, bis der nächste RealmJoin-Client-Synchronisierungszyklus abgeschlossen ist, bevor der Download der Logdatei verfügbar ist. Der übliche Synchronisierungszyklus beträgt 30 Minuten, was die maximale Wartezeit ist.

Die Synchronisierung kann vom Client aus erzwungen werden, indem Sie `Dieses Gerät synchronisieren` aus dem RealmJoin-Traymenü.
{% endhint %}

1. Öffnen Sie das [RealmJoin-Portal](https://portal.realmjoin.com)
2. Suchen Sie nach dem betroffenen Gerät und öffnen Sie die Geräteseite.
3. Am unteren Rand der Geräteübersicht auf der linken Seite finden Sie die `Logs anfordern` Schaltfläche.
4. Klicken Sie auf die `Logs anfordern` Schaltfläche.
5. Warten Sie, bis die Logs verfügbar sind; wenn der Client online ist, beträgt die maximale Wartezeit etwa 30 Minuten.
6. Klicken Sie auf die Download-Schaltfläche links neben der `Logs anfordern` Schaltfläche, um die ZIP-Datei mit den Logs herunterzuladen.

{% hint style="warning" %}
Der Download der Log-ZIP-Datei ist für jeden Benutzer verfügbar, der Zugriff auf das RealmJoin-Portal hat, nicht nur für das anfordernde Konto.
{% endhint %}

<figure><img src="https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F1FYMvPMVIE55vOCfIZc8%2Fimage.png?alt=media&amp;token=80011f86-a639-4f7b-be63-6efb4a9b3597" alt=""><figcaption><p>Logs über das RealmJoin-Portal anfordern</p></figcaption></figure>

## Logdateien auf AVD- und MU-Geräten

Auf Geräten mit mehreren Benutzern ermöglicht ein Dropdown-Bereich, Logs für bestimmte Benutzer anzufordern.

<figure><img src="https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FykJMBkPyggFliu5AZhuN%2F26-03-27-14_54_17_SnippingTool.png?alt=media&amp;token=16dc937e-8019-485c-90f3-95a5b03cc08a" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/de/fehlerbehebung-and-faq/troubleshooting/package-installation-issues/collecting-logfiles.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
