dstandish commented on code in PR #27758:
URL: https://github.com/apache/airflow/pull/27758#discussion_r1055197957
##########
airflow/utils/log/logging_mixin.py:
##########
@@ -210,7 +210,11 @@ def set_context(logger, value):
if hasattr(handler, "set_context"):
from airflow.utils.log.file_task_handler import FileTaskHandler
- flag = cast(FileTaskHandler, handler).set_context(value)
+ if is_trigger and getattr(handler, "supports_triggerer", None):
+ flag = cast(FileTaskHandler, handler).set_context(value,
is_trigger=is_trigger)
+ logger.propagate = False
Review Comment:
i think i might not need this anymore.... lemme see
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]