In diesem Dokument wird beschrieben, wie Protokolle zur Ausführung von Integrationen in der Anwendungsintegration gespeichert werden und wie Sie lokales Logging für Ihre Integrationen aktivieren.
Übersicht
"Lokales Logging" bezieht sich auf die Daten oder Metadaten der Einbindung, die während ihrer Ausführung gespeichert werden. Application Integration verwendet die gespeicherten Daten, um die Ausführungslogs für die Einbindung zu generieren.
Sie können die lokale Protokollierung auf einen der folgenden drei Modi festlegen:
Aktivieren(synchron): Die Logdaten werden während der Ausführung der Einbindung beibehalten (geschrieben). In diesem Modus schreibt Application Integration die Protokolldaten nach jedem Ausführungsschritt synchron. Dieser Modus sichert die Generierung von Logs für alle Einbindungsausführungen.
Verwenden Sie diesen Modus, wenn die garantierte Generierung von Logs Ihre Priorität ist und eine Latenz bei der Ausführungszeit der Einbindung akzeptabel ist.
Enable(async): Standardmäßig ist das lokale Logging für eine Integration im asynchronen Modus aktiviert.
Die Logdaten werden in festen Intervallen oder nach Abschluss der Ausführung der Integration beibehalten (geschrieben), je nachdem, was früher eintritt. In diesem Modus dauert die Ausführung der Einbindung im Vergleich zum Enable(sync)-Modus weniger Zeit, da die Anwendungsintegration die Logdaten während der Einbindungsausführung asynchron schreibt. Dieser Modus sichert jedoch nicht, dass für alle Ausführungen Logs generiert werden. In seltenen Fällen kann es vorkommen, dass Logs für eine Einbindungsausführung nicht generiert werden.
Verwenden Sie diesen Modus, wenn Ihre Priorität bei der Ausführung von Einbindung reduzierte Latenzen sind und die garantierte Generierung von Logs weniger wichtig ist.
Deaktivieren:Die Ausführungslogs werden für die Einbindung nicht generiert. Wenn Sie das lokale Logging deaktivieren, wird die Gesamtlatenz der Einbindung verbessert, da für Anfrage- und Antwortparameter sowie andere Einbindungsvariablen keine Logereignisse generiert werden.
Lokales Logging konfigurieren
So konfigurieren Sie das lokale Logging für Ihre Einbindung:
Klicken Sie in der Symbolleiste auf settingsIntegrationseinstellungen.
Wählen Sie in der Liste Lokales Logging den Modus für die lokale Protokollierung aus. Standardmäßig ist Lokales Logging auf Aktivieren(async) festgelegt.
Klicken Sie auf Fertig.
Aufbewahrungsdauer
Die Aufbewahrungsdauer für Ausführungsprotokolle von Integrationen beträgt 90 Tage. Wenn Sie die Aufbewahrungsdauer ändern möchten, müssen Sie Cloud Logging aktivieren und die Aufbewahrungsdauer für Ihr Projekt konfigurieren. Weitere Informationen finden Sie unter Aufbewahrung von Protokollen.
Kontingente und Limits
Weitere Informationen zu allen Kontingenten und Limits finden Sie unter Kontingente und Limits.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-03 (UTC)."],[[["\u003cp\u003eThis document outlines how Application Integration saves integration execution logs and how to enable local logging for integrations.\u003c/p\u003e\n"],["\u003cp\u003eLocal logging can be set to three modes: \u003ccode\u003eEnable(sync)\u003c/code\u003e for guaranteed log generation, \u003ccode\u003eEnable(async)\u003c/code\u003e for reduced latency, or \u003ccode\u003eDisable\u003c/code\u003e for the best integration latency, but no logs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnable(sync)\u003c/code\u003e mode writes log data synchronously after each step, ensuring log generation, while \u003ccode\u003eEnable(async)\u003c/code\u003e writes data asynchronously, potentially missing some logs.\u003c/p\u003e\n"],["\u003cp\u003eLocal logging settings can be configured within the integration editor by accessing the settings menu and selecting the desired mode from the "Local logging" dropdown.\u003c/p\u003e\n"],["\u003cp\u003eIntegration execution logs are retained for 90 days by default; however, the retention period can be modified by enabling Cloud Logging and setting a new retention period for the project.\u003c/p\u003e\n"]]],[],null,["# Local logging\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nLocal logging\n=============\n\nThis document describes how integration execution logs are saved in Application Integration and how to enable local logging for your integrations.\n\nOverview\n--------\n\nLocal logging refers to the integration's data or metadata that is saved during its execution. Application Integration\nuses the saved data to generate the [integration execution logs](/application-integration/docs/integration-execution-logs).\n\nYou can set the **Local logging** to any of the following three modes:\n\n- **Enable(sync):** The log data is persisted (written) during integration's execution. In this mode, Application Integration writes the log data synchronously after each execution step. This mode guarantees the generation of logs for all the integration executions.\n\n Use this mode if your priority is to have a guaranteed generation of logs, and a latency in\n integration execution time is acceptable.\n- **Enable(async):** By default, local logging for an integration is enabled in async mode. The log data is persisted (written) at fixed intervals or after the completion of the integration's execution, whichever is earlier. In this mode, the integration takes a relatively lesser time to execute when compared to `Enable(sync)` mode, because Application Integration writes the log data asynchronously during the integration execution. However, this mode doesn't guarantee the generation of logs for all the executions. In rare cases, it's possible that logs aren't generated for an integration execution.\n\n Use this mode if your priority is to run your integrations with reduced latency, and the guaranteed\n generation of logs is relatively of a lesser importance.\n- **Disable:** The execution logs aren't generated for the integration. Disabling the local logging improves the overall integration latency, as log events aren't generated for request and response parameters, and other integration variables.\n\nConfigure local logging\n-----------------------\n\nTo configure the local logging for your integration, do the following steps:\n\n1. Open your integration in the [integration editor](/application-integration/docs/integrations-ui-layout).\n2. In the toolbar, click **settingsIntegration settings**.\n3. From the **Local logging** list, select the [local logging mode](#overview). By default, **Local logging** is set to **Enable(async)**.\n4. Click **Done**.\n\n| **Tip:**Disabling the local logging improves the overall integration latency, as log events aren't generated for request and response parameters, and other integration variables.\n\nRetention period\n----------------\n\nThe retention period for integration execution logs is 90 days. If you want to modify the retention period, you must enable Cloud Logging and configure the retention period for your project. For more information, see [Logging retention](/logging/docs/routing/overview#logs-retention).\n\nQuotas and limits\n-----------------\n\nFor information about quotas and limits, see [Quotas and limits](/application-integration/docs/quotas).\n\nWhat's next\n-----------\n\n- Learn about [all tasks and triggers](/application-integration/docs/all-triggers-tasks).\n- Learn how to [test and publish an integration](/application-integration/docs/test-publish-integrations).\n\n- Learn about [error handling](/application-integration/docs/error-handling-strategy).\n- Learn about [integration execution logs](/application-integration/docs/introduction-logs)."]]