Am 15. September 2026erreichen alle Cloud Composer 1- und Cloud Composer 2-Umgebungen der Version 2.0.x das geplante Ende des Lebenszyklus und können nicht mehr verwendet werden. Wir empfehlen, die Migration zu Cloud Composer 3 zu planen.
Auf dieser Seite wird beschrieben, wie Sie auf Apache Airflow-Logs für Cloud Composer zugreifen und diese ansehen.
Protokolltypen
Cloud Composer enthält die folgenden Airflow-Logs:
Streaming-Logs Diese Logs enthalten Airflow-Aufgabenprotokolle sowie Protokolle von Airflow-Komponenten Ihrer Umgebung, z. B. Airflow-Planer und ‑Worker.
Weitere Informationen zu Cloud Logging und Cloud Monitoring für Ihre Cloud Composer-Umgebung finden Sie unter Umgebungen im Blick behalten.
Cloud Composer generiert Audit-Logs, z. B. Administratoraktivitätslogs. Weitere Informationen finden Sie unter Audit-Logs ansehen.
Hinweise
In Cloud Composer 3-Umgebungen werden Airflow-Aufgabenlogs nicht im Bucket der Umgebung gespeichert. Alternativ können Sie in Cloud Logging eine Senke konfigurieren, um Logs an einen der unterstützten Speicherorte weiterzuleiten.
[[["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-08-26 (UTC)."],[[["\u003cp\u003eThis page details how to access and view Apache Airflow logs for Cloud Composer environments, including streaming logs for Airflow tasks and components.\u003c/p\u003e\n"],["\u003cp\u003eCloud Composer offers streaming logs, which cover Airflow task logs and the logs of Airflow components, as well as audit logs for administrative activities.\u003c/p\u003e\n"],["\u003cp\u003eCloud Composer 3 environments no longer save Airflow task logs to the environment's bucket; instead, a sink in Cloud Logging can be configured to route logs to other supported locations.\u003c/p\u003e\n"],["\u003cp\u003eStreaming logs can be accessed in Cloud Logging by navigating to the \u003cstrong\u003eEnvironments\u003c/strong\u003e page in the Google Cloud console and selecting the \u003cstrong\u003eLogs\u003c/strong\u003e link for a specific environment.\u003c/p\u003e\n"]]],[],null,["# View Airflow logs\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\n**Cloud Composer 3** \\| [Cloud Composer 2](/composer/docs/composer-2/view-logs \"View this page for Cloud Composer 2\") \\| [Cloud Composer 1](/composer/docs/composer-1/view-logs \"View this page for Cloud Composer 1\")\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThis page describes how to access and view Apache Airflow logs for\nCloud Composer.\n\nAbout log types\n---------------\n\nCloud Composer has the following Airflow logs:\n\n- [Streaming logs](#streaming). These logs contain Airflow task logs, as well\n as logs of Airflow components of your environment, such as Airflow\n schedulers and workers.\n\n To learn about Cloud Logging and Cloud Monitoring for your\n Cloud Composer environment, see\n [Monitor environments](/composer/docs/composer-3/monitor-environments).\n- Cloud Composer generates [audit logs](/logging/docs/audit), such as Admin\n Activity logs. For more information, see\n [View audit logs](/composer/docs/composer-3/audit-logging).\n\nBefore you begin\n----------------\n\n- Cloud Composer 3 environments\n **don't save Airflow task logs to the environment's bucket** . As an\n alternative, you can [configure a sink](/logging/docs/export/configure_export_v2) in\n Cloud Logging to route logs to any of the supported locations.\n\n For an example of routing environment logs to a Cloud Storage bucket,\n see\n [Restrict locations for Cloud Composer logs](/composer/docs/composer-3/configure-resource-location-restrictions#restrict-logs-location).\n | **Important:** If you use a sink to route logs, we recommend to **keep environment logs in Cloud Logging** as well as in the configured location. If you use the provided example, skip the last step and don't add an exclusion for Cloud Logging.\n\n\nView streaming logs\n-------------------\n\nTo view streaming logs in Cloud Logging: \n\n### Console\n\n1. In the Google Cloud console, go to the **Environments** page.\n\n [Go to Environments](https://console.cloud.google.com/composer/environments)\n2. In the list of environments, click the name of your environment.\n The **Environment details** page opens.\n\n3. Go to the **Logs** tab.\n\nView streaming logs in Cloud Logging\n------------------------------------\n\nTo view streaming logs in Cloud Logging: \n\n### Console\n\n1. In the Google Cloud console, go to the **Environments** page.\n\n [Go to Environments](https://console.cloud.google.com/composer/environments)\n2. In the list of environments, locate your environment.\n\n3. in the **Logs** column, click the **Logs** link.\n\nWhat's next\n-----------\n\n- [Monitor environments](/composer/docs/composer-3/monitor-environments)\n- [Cloud Composer audit logging](/composer/docs/composer-3/audit-logging)"]]