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/11/07 22:27:29 UTC

[GitHub] [airflow] pavelhlushchanka edited a comment on issue #19426: ECS operator not fetching CloudWatch logs

pavelhlushchanka edited a comment on issue #19426:
URL: https://github.com/apache/airflow/issues/19426#issuecomment-962690870


   I think you have a misconfiguration of the operator. The reason you don't see logs is because the log fetcher can't find the log group and the not found error is just ignored. The error is ignored because it's always a case that a log group doesn't exist until the task is started. Try to use the following pattern of the configuration and it should solve your problem:
   ```
               awslogs_group=log_group,
               awslogs_stream_prefix=f"{log_stream_prefix}/{container}",
   ```
   
   It would be probably a good idea to add a warning that log group is not found, but it might spam.


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