apache/airflow

CloudRunExecuteJobOperator - logs from inside the container are not shown in Airflow

Closed

#36,963 opened on Jan 23, 2024

 (28 comments) (10 reactions) (0 assignees)Python (16,781 forks)batch import
area:providersgood first issuekind:featureprovider:google

Repository metrics

Stars
 (44,809 stars)
PR merge metrics
 (Avg merge 7d 18h) (834 merged PRs in 30d)

Description

Description

Unlike the operators I'm accustomed to, the default logger is not returning the cloud run jobs logs to the airflow task.

Use case/motivation

Avoids the context switching of navigating to GCP Cloud or Cloud Logging to access logs.

To submit I'd need guidance on the testing in particular. Well and the debugging of course. I don't understand why the logging is not working.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Contributor guide