RNHTTR commented on code in PR #39177:
URL: https://github.com/apache/airflow/pull/39177#discussion_r1578209347
##########
airflow/utils/log/file_task_handler.py:
##########
@@ -384,7 +380,13 @@ def _read(
worker_log_full_path = Path(self.local_base, worker_log_rel_path)
local_messages, local_logs =
self._read_from_local(worker_log_full_path)
messages_list.extend(local_messages)
- if is_running and not executor_messages:
+ if (
+ ti.state in (TaskInstanceState.RUNNING, TaskInstanceState.DEFERRED)
+ and not executor_messages
+ and not remote_logs
Review Comment:
I see. So, when clearing a _previous_ task instance try, if you don't have
remote logs configured, you won't be able to see this try's task instance logs
until the task completes?
--
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]