Em 15 de setembro de 2026, todos os ambientes do Cloud Composer 1 e da versão 2.0.x do Cloud Composer 2 vão atingir o fim da vida útil planejado e não poderão mais ser usados. Recomendamos planejar a migração para o Cloud Composer 3.
Esta página descreve como acessar e visualizar os registros do Apache Airflow para o Cloud Composer.
Sobre os tipos de registro
O Cloud Composer inclui estes registros do Airflow:
Fazer streaming de registros. Esses registros contêm registros de tarefas do Airflow, além
de registros de componentes do Airflow do seu ambiente, como programadores e workers.
Para saber mais sobre o Cloud Logging e o Cloud Monitoring no
ambiente do Cloud Composer, consulte
Monitorar ambientes.
Os ambientes do Cloud Composer 3
não salvam os registros de tarefas do Airflow no bucket do ambiente. Como alternativa, é possível configurar um coletor no Cloud Logging para rotear registros para qualquer um dos locais com suporte.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)"]]