steveyz-astro commented on a change in pull request #19097:
URL: https://github.com/apache/airflow/pull/19097#discussion_r733173463
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -529,6 +529,17 @@ def _process_executor_events(self, session: Session =
None) -> int:
self.log.info("Setting external_id for %s to %s", ti, info)
continue
+ msg = ("TaskInstance Finished: dag_id=%s, task_id=%s, run_id=%s, "
+ "run_start_time=%f, run_end_time=%f, "
+ "run_duration=%f, state=%s, executor_state=%s,
try_number=%d, max_tries=%d, job_id=%d, "
+ "pool=%s, queue=%s, priority_weight=%d, operator=%s"
+ )
+ self.log.info(msg, ti.dag_id, ti.task_id, ti.run_id,
+ ti.start_date.timestamp() if ti.start_date is not
None else 0,
+ ti.end_date.timestamp() if ti.end_date is not None
else 0,
Review comment:
ok, I've changed them to `run_start_date` and `run_end_date` and made
them ISO format to be consistent
--
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]