rawwar opened a new pull request, #56383:
URL: https://github.com/apache/airflow/pull/56383

   Currently, when a task finishes, the supervisor log does not provide any 
information about which task it is related to. Therefore, this PR includes the 
task instance ID. Ideally, I think the external ID makes sense here in the case 
of the Celery executor. However, across executors, the task instance ID makes 
sense.
   
   Log before change: 
   
   ```
   2025-10-04T03:24:40.460195Z [info     ] Task finished  [supervisor] 
duration=1.8142216550004377 exit_code=0 final_state=failed 
loc=supervisor.py:1889
   ```
   
   Log after change:
   
   ```
   2025-10-04T07:22:01.924062Z [info     ] Task finished  [supervisor] 
duration=2.9439707239998825 exit_code=-9 final_state=failed 
loc=supervisor.py:1891 task_instance_id=0199ae19-4f9a-709e-8af4-6b17ecca57c2
   ```


-- 
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]

Reply via email to