You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/15 23:54:28 UTC

[GitHub] [airflow] pmalafosse edited a comment on issue #17038: ECSOperator returns last logs when ECS task fails

pmalafosse edited a comment on issue #17038:
URL: https://github.com/apache/airflow/issues/17038#issuecomment-881080730


   Yes I was thinking of doing something like that as I'm not sure there is a consistent way to identify the rows corresponding to the Exception message from the code running in ECS from Cloudwatch logs:
   
   something like `raise AirflowException(self._last_log_messages(5))` that would return the last 5 lines from Cloudwatch for example (_last_log_message() would be equal to _last_log_messages(1))


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org