Auf dieser Seite werden die verschiedenen Arten von Protokollen beschrieben, die für die Anwendungsintegration verfügbar sind, und wann sie verwendet werden sollten.
Übersicht
Mit Application Integration können Sie Protokolle für Ihre Integrationsausführungen generieren. Anhand dieser Logs können Sie Fehler bei der Ausführung beheben, die Nutzung überwachen oder Benachrichtigungen einrichten. Es gibt zwei Möglichkeiten, sich die Protokolle anzusehen:
Ausführungslogs der Integration Diese Protokolle werden generiert, wenn Integrationen ausgeführt werden. Diese Logs können Sie entweder in der Anwendungsintegration oder in Cloud Logging aufrufen.
Prüfprotokolle. Anhand von Audit-Logs können Sie nachvollziehen, wer was, wo und wann in Ihrer Integration getan hat. Diese Logs können nur in Cloud Logging aufgerufen werden. Für die Logs fallen keine zusätzlichen Kosten an.
Mit der Anwendungsintegration können Sie Cloud Logging-Funktionen nutzen, z. B. Benachrichtigungen für diese Logs festlegen und eine benutzerdefinierte Aufbewahrungsdauer festlegen, indem Sie Ausführungsprotokolle in Cloud Logging speichern.
Application Integration-Logs
Wenn Sie eine Integration ausführen, werden die Ausführungsprotokolle für diese Integration generiert und in der Region gespeichert, in der Sie die Integration erstellt haben. Sie können auf diese Protokolle zugreifen, um Fehler zu beheben und den Status der einzelnen Schritte einer Integration aufzurufen.
Die folgende Abbildung zeigt die Seite Ausführungslogs:
Cloud Logging ist ein Echtzeit-Log-Verwaltungssystem mit Unterstützung für Speicherung, Suche, Analyse und Monitoring. Mit der Anwendungsintegration können Sie Cloud Logging-Funktionen nutzen. Cloud Logging ist für Integrationen standardmäßig deaktiviert. Sie können das Logging für eine Integration aktivieren, indem Sie die unveröffentlichte Version der Integration bearbeiten.
Cloud Logging erfasst Integrations-Laufzeitprotokolle für die folgenden Schweregrade:
Hinweis : Logs mit Ausführungsprotokollen und anderen Details zu allen Integrationsausführungen: SUCCEEDED, FAILED, PROCESSING, PENDING, SUSPENDED und CANCELLED.
Fehler und Warnung : Logs mit Ausführungslogs und anderen Details zu den Ausführungsstatus FAILED und CANCELLED der Integration.
Eine Liste der Ausführungsstatus von Integrationen finden Sie unter Ausführungsstatus.
Logs zur Ausführung von Integrationen werden im Bucket _Default mit dem konfigurierten Standardspeicherort gespeichert. Sie können Protokolle an verschiedene Ziele weiterleiten:
Mit Einschluss- und Ausschlussfiltern von Cloud Logging können Sie Protokolle an verschiedene Protokoll-Buckets mit unterschiedlichen Speicherorten senden.
Exportieren Sie die Logs an verschiedene Ziele wie BigQuery oder Pub/Sub.
Weitere Informationen zum Routing und Speichern in Cloud Logging finden Sie unter Routing und Speicher.
Für Anwendungsintegrations-Logs fallen keine zusätzlichen Kosten an. Für Audit-Logs und Cloud Logging gelten jedoch unterschiedliche Preismodelle.
Informationen zu den Preisen für Cloud Logging finden Sie unter Cloud Logging – Preise.
Beschränkungen
Integrationsprotokolle unterliegen den folgenden Einschränkungen:
Cloud Logging unterstützt nur Logeinträge mit einer Größe von bis zu 256 KiB. Wenn Ihre Protokolle dieses Limit überschreiten, werden die Anfrage- und Antwortparameter nicht in den Protokolldetails angezeigt. Informationen zu den Kontingenten und Limits von Cloud Logging finden Sie unter Kontingente und Limits. Ändern Sie den Wert der Integrationsvariablen, damit er das Limit nicht überschreitet. Alternativ können Sie sich diese Logs auch in der Anwendungsintegration ansehen. Diese Einschränkung gilt für Cloud Logging-Logs.
[[["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\u003eApplication Integration generates execution logs for each integration, which can be used for troubleshooting, monitoring, and setting alerts, and can be viewed in both Application Integration and Cloud Logging.\u003c/p\u003e\n"],["\u003cp\u003eAudit logs, which track who did what, where, and when within an integration, are available exclusively in Cloud Logging at no extra cost.\u003c/p\u003e\n"],["\u003cp\u003eCloud Logging, when enabled, captures integration runtime logs with different levels of severity such as Info, Error, and Warning, and can have logs sent to different buckets with different storage locations.\u003c/p\u003e\n"],["\u003cp\u003eCloud Logging has a limitation of 256 KiB per log entry; logs exceeding this size will not show request and response parameters, but they can still be viewed within Application Integration.\u003c/p\u003e\n"],["\u003cp\u003eIntegration logs are affected by local logging settings, so if local logging is disabled then execution logs are not sent to Cloud Logging even if it is enabled.\u003c/p\u003e\n"]]],[],null,["# Introduction to logs\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nIntroduction to logs\n====================\n\n\nThis page describes the different types of logs available for Application Integration and when to use them.\n\nOverview\n--------\n\n\nApplication Integration enables you to generate logs for your integration executions. You can use these\nlogs to troubleshoot execution failures, monitor usage, or set alerts. There are two ways\nof viewing your logs:\n\n- **Integration execution logs.** These logs are generated when integrations are executed. These logs can either be viewed in [Application Integration](#integration-logs) and [Cloud Logging](#cloud-logs).\n- **Audit logs.** With [audit logs](#audit-logs) you can understand who did what, where, and when within your integration. These logs can be only be viewed in Cloud Logging with no extra charges incurred by the logs.\n\n\u003cbr /\u003e\n\nWith Application Integration, you can leverage Cloud Logging features including setting alerts on these logs and custom retention by storing execution logs in Cloud Logging.\n\nApplication Integration logs\n----------------------------\n\nWhen you execute an integration, the execution logs are generated for that integration and stored in the region where you created your integration. You can access these logs to troubleshoot errors and view the status of each step in an integration.\nThe following image displays the **Execution Logs** page:\n\n\nFor more information about viewing logs in Application Integration, see [Integration execution logs](/application-integration/docs/integration-execution-logs).\n\nCloud Logging\n-------------\n\n[Cloud Logging](/logging/docs/overview) is a real-time log-management system with storage, search, analysis, and monitoring support. With Application Integration, you can leverage Cloud Logging features. By default, Cloud Logging is disabled for integrations. You can [enable logging for an integration](/application-integration/docs/cloud-logging#before-you-begin) by editing the unpublished version of the integration.\n\n\nCloud Logging captures integration runtime logs for the following levels of severity:\n\n- **Info:** Logs containing executions logs and other details related to all integration executions: `SUCCEEDED`, `FAILED`, `PROCESSING`, `PENDING`, `SUSPENDED`, and `CANCELLED`.\n- **Error and Warning:** Logs containing executions logs and other details related to the `FAILED` and `CANCELLED` integration execution states.\n- For a list of integration execution states, see [Execution states](/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions#state).\n\nFor information about how to view logs in Cloud Logging, see [View integration logs in Cloud Logging](/application-integration/docs/cloud-logging).\n| **Note:** Cloud Logging only supports log entries that are up to 256 KiB in size. If your logs exceed this limit, the request and response parameters are not shown in the logging details. In that case, you can update the integration variables so that the value doesn't exceed the limit. Alternatively, you can [view these logs in Application Integration](/application-integration/docs/integration-execution-logs).\n\n### Log buckets\n\nIntegration execution logs are stored in the `_Default` bucket with the default storage location configured. You can route logs to different destinations:\n\n- Send logs to different log buckets with different storage locations using inclusion and exclusion filters of Cloud Logging.\n- Export the logs to different destinations like BigQuery or Pub/Sub.\n\nFor more information about Cloud Logging routing and storage, see [Routing and storage overview](/logging/docs/routing/overview).\n\nAudit logs\n----------\n\n\nFor information about audit logs, see [View audit logs](/application-integration/docs/audit-logging).\n\nPricing\n-------\n\nApplication Integration logs don't have any additional costs but audit logs and Cloud Logging have different pricing models.\nFor information about pricing for Cloud Logging, see [Cloud Logging pricing](/stackdriver/pricing#logging-costs).\n\nLimitations\n-----------\n\nIntegration logs are subject to the following limitations:\n\n- Cloud Logging only supports log entries that are up to 256 KiB in size. If your logs exceed this limit, the request and response parameters are not shown in the logging details. For information about Cloud Logging quotas and limits, see [Quotas and limits](/logging/quotas). To resolve this error, modify the value of the integration variables so that the value doesn't exceed the limit. Alternatively, you can also [view these logs in Application Integration](/application-integration/docs/integration-execution-logs). This limitation is applicable to [Cloud Logging logs](/application-integration/docs/cloud-logging).\n- If [local logging](/application-integration/docs/local-logging) is disabled, the execution logs are not sent to Cloud Logging even if Cloud Logging is enabled. This limitation is applicable to both [Integration execution logs](/application-integration/docs/integration-execution-logs) and [Cloud Logging logs](/application-integration/docs/cloud-logging).\n\nWhat's next\n-----------\n\n- Learn how to [monitor you integrations using Cloud Monitoring](/application-integration/docs/cloud-monitoring)\n- Learn how to [create alerts](/application-integration/docs/alerts)"]]