Repository navigation
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
dd7e88a to
e894397
Compare
e894397 to
5901b6f
Compare
ashb
left a comment
There was a problem hiding this comment.
This is wrong for every other logger, and we are working to remove imports of airflow-core within the task SDK, so I'm afraid this solution is not the right one
|
Ok, may I know the reason to reconfigure logging when executing workloads when it is already initialized by Airflow. Also if we have to reconfigure it, we can use the same handlers again instead of setting some defaults and removing existing ones. |
|
Logging of tasks in Airflow 3 has massively and fundamentally changed. The tasks process now only write logs to a socket as JSON connected to the supervisor, and it is the supervisor process that is responsible for uploading/sending those to remote storage or logging engine. |
|
Hey @ashb, I’m currently not familiar with the internal structure of the Airflow codebase. However, as we’re all aware, there’s an open issue with CloudWatch logging on the Kubernetes cluster. |
|
Yes I'll try and get to this soon, once I've finished off my current PR (this week sometime) to unblock other folks. |
Related #52501
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.