aws / amazon-mwaa-docker-images

Apache License 2.0
24 stars 11 forks source link

Fix task logs spilling into scheduler logs #104

Closed rafidka closed 2 months ago

rafidka commented 3 months ago

Issue #, if available: N/A

Description of changes:

In our logging configuration, we were not setting the propagation flag to False for the airflow.task logger, resulting in some task logs going to the scheduler as well (and probably workers, but I didn't verify) because the go to the 'root' handler, which prints to console, and the latter gets captured by the scheduler.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.