5e9148d9 commented on issue #37278:
URL: https://github.com/apache/airflow/issues/37278#issuecomment-1956245752
> > Python DAG file defines EcsRunTaskOperator.awslogs_group="my-loggroup".
And we got error in logs
> > Issue that fargate task is created with another log group and value from
EcsRunTaskOperator.awslogs_group does not override it
>
> Doesn't seems a bug to me, logging only collected from the valid log
groups provided by the users.
Well, I do agree with you to some extent but there two points that quite
misleading.
1. EcsRunTaskOperator.awslogs_group does not override task definition value
EcsRunTaskOperator.awslogs-stream-prefix overrides task definition value
For me it is pretty strange behaviour
2. From documentation:
> awslogs_group ([str](https://docs.python.org/3/library/stdtypes.html#str)
| None) – the CloudWatch group where your ECS container logs are stored. Only
required if you want logs to be shown in the Airflow UI after your job has
finished.
I don't see here something like "Use the name from task definition log
group. All other names will fail."
--
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]