Jorricks commented on a change in pull request #17207:
URL: https://github.com/apache/airflow/pull/17207#discussion_r703439552
##########
File path: airflow/executors/celery_executor.py
##########
@@ -81,14 +81,16 @@ def execute_command(command_to_exec: CommandType) -> None:
"""Executes command."""
BaseExecutor.validate_command(command_to_exec)
log.info("Executing command in Celery: %s", command_to_exec)
+ celery_task_id = str(app.current_task.request.id) if
app.current_task.request.id else None
+ log.info(f"Found the following celery_task_id: {celery_task_id}")
Review comment:
Changed :)
--
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]