Cette page décrit les différents types de journaux disponibles pour l'intégration d'applications et les cas d'utilisation.
Présentation
Application Integration vous permet de générer des journaux pour vos exécutions d'intégration. Vous pouvez utiliser ces journaux pour résoudre les échecs d'exécution, surveiller l'utilisation ou définir des alertes. Vous pouvez consulter vos journaux de deux manières:
Journaux d'exécution d'intégration Ces journaux sont générés lorsque les intégrations sont exécutées. Vous pouvez consulter ces journaux dans Application Integration et Cloud Logging.
Journaux d'audit. Les journaux d'audit vous permettent de savoir qui a fait quoi, où et quand dans votre intégration. Ces journaux ne peuvent être consultés que dans Cloud Logging, sans frais supplémentaires.
Avec l'intégration d'applications, vous pouvez exploiter les fonctionnalités de Cloud Logging, y compris définir des alertes sur ces journaux et une conservation personnalisée en stockant les journaux d'exécution dans Cloud Logging.
Journaux Application Integration
Lorsque vous exécutez une intégration, les journaux d'exécution sont générés pour cette intégration et stockés dans la région dans laquelle vous l'avez créée. Vous pouvez accéder à ces journaux pour résoudre les erreurs et afficher l'état de chaque étape d'une intégration.
L'image suivante affiche la page Journaux d'exécution:
Cloud Logging est un système de gestion des journaux en temps réel compatible avec le stockage, la recherche, l'analyse et la surveillance. L'intégration d'applications vous permet d'exploiter les fonctionnalités de Cloud Logging. Par défaut, Cloud Logging est désactivé pour les intégrations. Vous pouvez activer la journalisation pour une intégration en modifiant la version non publiée de l'intégration.
Cloud Logging enregistre les journaux d'exécution de l'intégration pour les niveaux de gravité suivants:
Info : Journaux contenant des journaux d'exécution et d'autres informations sur toutes les exécutions d'intégration: SUCCEEDED, FAILED, PROCESSING, PENDING, SUSPENDED et CANCELLED.
Erreur et avertissement : journaux contenant des journaux d'exécution et d'autres informations sur les états d'exécution des intégrations FAILED et CANCELLED.
Pour obtenir la liste des états d'exécution des intégrations, consultez la section États d'exécution.
Les journaux d'exécution des intégrations sont stockés dans le bucket _Default avec l'emplacement de stockage par défaut configuré. Vous pouvez acheminer les journaux vers différentes destinations:
Envoyez des journaux dans différents buckets de journaux avec différents emplacements de stockage à l'aide des filtres d'inclusion et d'exclusion de Cloud Logging.
Exportez les journaux vers différentes destinations, comme BigQuery ou Pub/Sub.
Les journaux d'intégration d'applications n'entraînent aucun coût supplémentaire, mais les journaux d'audit et Cloud Logging ont des modèles tarifaires différents.
Pour en savoir plus sur les tarifs de Cloud Logging, consultez la section Tarifs de Cloud Logging.
Limites
Les journaux d'intégration sont soumis aux limites suivantes:
Cloud Logging n'accepte que les entrées de journal d'une taille maximale de 256 Ko. Si vos journaux dépassent cette limite, les paramètres de requête et de réponse ne s'affichent pas dans les détails de la journalisation. Pour en savoir plus sur les quotas et les limites de Cloud Logging, consultez la section Quotas et limites. Pour résoudre cette erreur, modifiez la valeur des variables d'intégration afin qu'elle ne dépasse pas la limite. Vous pouvez également afficher ces journaux dans l'intégration d'applications. Cette limitation s'applique aux journaux Cloud Logging.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/03 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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)"]]