> For the complete documentation index, see [llms.txt](https://docs.solutioo.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solutioo.de/shopware/fehlerbehebung-and-support/logs-und-monitoring.md).

# Logs und Monitoring

Erfahren Sie, wie Sie Logs und Monitoring für den Shopware 6 API Connector nutzen.

Der Shopware 6 API Connector bietet umfangreiche Logging- und Monitoring-Funktionen für Fehleranalyse und Überwachung.

## 1. Aktivitätsprotokoll

### Übersicht

Das Aktivitätsprotokoll zeichnet alle wichtigen Aktionen und Ereignisse auf:

1. Öffnen Sie **Shopware** → **Aktivitätsprotokoll**
2. Sie sehen eine Liste aller Aktivitäten

<div align="left" data-with-frame="true"><figure><img src="https://3167966143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsUTvHyq0bxTYi3oQtlM%2Fuploads%2FC5VgP0LdZG9gHAuAZ7MF%2FBildschirmfoto%202026-07-02%20um%2009.15.27.png?alt=media&amp;token=b744d6bc-51b3-46fe-bd9d-6397bd955907" alt="" width="563"><figcaption></figcaption></figure></div>

### Protokollierte Ereignisse

<table><thead><tr><th width="155.4857177734375">Ereignis</th><th width="295.5506591796875">Beschreibung</th></tr></thead><tbody><tr><td>Artikelupload</td><td>Artikel zu Shopware synchronisiert</td></tr><tr><td>Bestelldownload</td><td>Bestellung aus Shopware importiert</td></tr><tr><td>Preisupload</td><td>Preis aktualisiert</td></tr><tr><td>Bestandsupload</td><td>Bestand synchronisiert</td></tr><tr><td>Bildupload</td><td>Bild hochgeladen</td></tr><tr><td>PDF-Upload</td><td>Dokument hochgeladen</td></tr><tr><td>Fehler</td><td>Fehler bei einer Aktion</td></tr></tbody></table>

### Filtern und Suchen

Sie können das Protokoll filtern nach:

* **Datum** – Zeitraum eingrenzen
* **Modul** – Nur bestimmte Funktionsbereiche
* **Status** – Erfolg oder Fehler
* **Datensatz** – Bestimmter Artikel, Kunde, etc.

## API-Call-Log

### Detaillierte API-Aufzeichnung

Für technische Analyse:

1. Aktivieren Sie **Erlaube Entwickler-Protokoll** in den Einstellungen
2. Öffnen Sie **Shopware** → **API Calls Log**
3. Sie sehen alle API-Aufrufe im Detail

### Protokollierte Informationen

| Information   | Beschreibung             |
| ------------- | ------------------------ |
| Zeitstempel   | Wann der Aufruf erfolgte |
| Endpunkt      | Aufgerufene API-URL      |
| Methode       | GET, POST, PUT, DELETE   |
| Request-Body  | Gesendete Daten          |
| Response-Code | HTTP-Statuscode          |
| Response-Body | Empfangene Daten         |
| Dauer         | Ausführungszeit          |

### API-Call analysieren

1. Wählen Sie einen Eintrag aus
2. Klicken Sie auf **Details anzeigen**
3. Analysieren Sie Request und Response

## Aufgabenwarteschlangen-Protokoll

### Ausführungshistorie

1. Öffnen Sie **Aufgabenwarteschlangenposten**
2. Wählen Sie einen Posten
3. Klicken Sie auf **Protokollposten**

### Protokollierte Informationen

| Information   | Beschreibung          |
| ------------- | --------------------- |
| Startzeit     | Beginn der Ausführung |
| Endzeit       | Ende der Ausführung   |
| Dauer         | Gesamtdauer           |
| Status        | Erfolg oder Fehler    |
| Fehlermeldung | Bei Fehlern: Details  |

## Monitoring-Dashboard

### Bestellübersicht

Die Bestellübersicht bietet einen schnellen Überblick:

* Anzahl importierter Bestellungen (heute/gesamt)
* Letzte erfolgreiche Synchronisation
* Offene Fehler
* Verbindungsstatus

### Statusanzeigen

| Status  | Bedeutung           |
| ------- | ------------------- |
| 🟢 Grün | Alles OK            |
| 🟡 Gelb | Warnungen vorhanden |
| 🔴 Rot  | Fehler aufgetreten  |

## Fehlerbenachrichtigungen

### E-Mail-Benachrichtigungen

Richten Sie automatische Benachrichtigungen ein:

1. Öffnen Sie **Aufgabenwarteschlangenposten**
2. Aktivieren Sie **Bei Fehler benachrichtigen**
3. Geben Sie E-Mail-Adressen an

### Benachrichtigungsoptionen

| Option                  | Beschreibung               |
| ----------------------- | -------------------------- |
| Bei jedem Fehler        | Sofortige Benachrichtigung |
| Täglich zusammengefasst | Täglicher Fehlerbericht    |
| Bei kritischen Fehlern  | Nur wichtige Fehler        |

## Protokoll-Aufbewahrung

### Automatische Bereinigung

Protokolle werden automatisch nach einem definierten Zeitraum gelöscht:

* Aktivitätsprotokoll: 30 Tage
* API-Call-Log: 7 Tage (bei aktiviertem Entwicklerprotokoll)
* Aufgabenwarteschlangen-Log: 30 Tage

### Manuelle Bereinigung

Bei Bedarf können Sie Protokolle manuell löschen:

1. Öffnen Sie das entsprechende Protokoll
2. Filtern Sie nach Zeitraum
3. Löschen Sie alte Einträge

## Best Practices

### Regelmäßige Überwachung

* Prüfen Sie täglich die Aktivitätsprotokolle
* Reagieren Sie schnell auf Fehler
* Dokumentieren Sie wiederkehrende Probleme

### Entwicklerprotokoll

{% hint style="warning" %}
Das Entwicklerprotokoll erfasst detaillierte Daten und sollte nur bei Bedarf aktiviert werden. Es kann die Performance beeinflussen und speichert sensible Daten.
{% endhint %}

### Protokoll-Export

Für Support-Anfragen:

1. Filtern Sie das relevante Protokoll
2. Exportieren Sie die Daten
3. Senden Sie sie an den Support


---

# 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.solutioo.de/shopware/fehlerbehebung-and-support/logs-und-monitoring.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.
