Why all ecs logs are not showing in aws cloudwatch logs--> missing logs

0

I have a ecs cluster with a service containing two tasks. When users log in in the node js app the logs shows socket.io connected successfully. This happens when the service has only one task. The logs get missing when there are two tasks. Read somewhere that sticky sessions will solve this socket connection issue, but the problem was still there.

Assuming that there was an issue with the cluster, we created another cluster with all the same confg, but in that cluster, even one task had missing logs.

How to resolve this? Any guidance will be appreciated.

P.s. we have alb attached to the ecs and logs are shown in cloudwatch log group

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠