Cloud Composer 1 | Cloud Composer 2 | Cloud Composer 3
This page describes how to access and view Apache Airflow logs for Cloud Composer.
About log types
Cloud Composer has the following Airflow logs:
Streaming logs. These logs contain Airflow task logs, as well as logs of Airflow components of your environment, such as Airflow schedulers and workers.
To learn about Cloud Logging and Cloud Monitoring for your Cloud Composer environment, see Monitor environments.
Cloud Composer generates audit logs, such as Admin Activity logs. For more information, see View audit logs.
Before you begin
Cloud Composer 3 environments don't save Airflow task logs to the environment's bucket. As an alternative, you can configure a sink in Cloud Logging to route logs to any of the supported locations.
For an example of routing environment logs to a Cloud Storage bucket, see Restrict locations for Cloud Composer logs.
View streaming logs
To view streaming logs in Cloud Logging:
Console
In the Google Cloud console, go to the Environments page.
In the list of environments, click the name of your environment. The Environment details page opens.
Go to the Logs tab.
View streaming logs in Cloud Logging
To view streaming logs in Cloud Logging:
Console
In the Google Cloud console, go to the Environments page.
In the list of environments, locate your environment.
in the Logs column, click the Logs link.