[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[[["\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,["\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\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- 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\nTo view streaming logs in Cloud Logging: \n\nConsole\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\nTo view streaming logs in Cloud Logging: \n\nConsole\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- [Monitor environments](/composer/docs/composer-3/monitor-environments)\n- [Cloud Composer audit logging](/composer/docs/composer-3/audit-logging)"]]