Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I troubleshoot "failed to initialize logging driver" (ECS)

I've created 3 tasks on a cluster. 1 is running fine but I'm getting

CannotStartContainerError: Error response from daemon: failed to initialize logging driver: failed to create Cloudwatch log stream: ResourceNotFoundException: The specified log group does not exist. status code: 400, request id: 3bf76715-2188-40d6-8bed-4

on the other 2. I shouldn't be getting this error since I've been following tutorial.

It says "the specified log group doesn't exist" but: enter image description here

Any insight into this much appreciated.

like image 517
mr_incredible Avatar asked Apr 20 '20 19:04

mr_incredible


1 Answers

The more important part of the error is: ResourceNotFoundException: The specified log group does not exist. The log group you have specified might have been deleted. Make sure the log group exists and try again.

Edit: You can select the Auto-configure CloudWatch Logs option to avoid this error.

like image 189
Ali Avatar answered Nov 02 '22 21:11

Ali