View Airflow logs

Cloud Composer 3  |  Cloud Composer 2 |  Cloud Composer 1

This page describes how to access and view Apache Airflow logs for Cloud Composer.

About log types

Cloud Composer has the following Airflow logs:

Before you begin

  • Your Google Account must have a role that can view objects in environment buckets. For more information, see Access control .

  • Logs stored in environment's bucket use the policy of the bucket. Cloud Composer creates buckets with the default policy that keeps data forever. For logs stored in Cloud Logging, Cloud Composer uses _Default and User-defined logs retention periods .

  • To prevent data loss, logs saved in environment's bucket are not deleted after you delete your environment. You must manually delete logs from your environment's bucket.

View streaming logs

To view streaming logs in Cloud Logging:

Console

  1. In the Google Cloud console, go to the Environmentspage.

    Go to Environments

  2. In the list of environments, click the name of your environment. The Environment detailspage opens.

  3. Go to the Logstab.

View streaming logs in Cloud Logging

To view streaming logs in Cloud Logging:

Console

  1. In the Google Cloud console, go to the Environmentspage.

    Go to Environments

  2. In the list of environments, locate your environment.

  3. in the Logscolumn, click the Logslink.

View Airflow task logs in the environment's bucket

To view Airflow task logs in your environment's bucket:

Console

  1. In Google Cloud console, go to the Environmentspage.

    Go to Environments

  2. In the list of environments, find a row with the name of your environment and in the DAGs foldercolumn click the DAGslink. The Bucket detailspage opens.

  3. In the Folder browserpane, click /logs .

What's next

Create a Mobile Website
View Site in Mobile | Classic
Share by: