Listing the container logs
To list the container logs, copy the task IDÂ (the task ID is the container name substring
before the /
) from the container name, and run the following command:
ecs-cli logs --task-id 0c23d765-88c5-46cd-a317-9db243590c89 –follow
The container logs get displayed as shown in the following screenshot: