- Docker on Amazon Web Services
- Justin Menga
- 109字
- 2025-02-17 05:10:17
ECS container instance logs
Each ECS container instance includes log files that can help troubleshoot your instance.
The primary logs you will work with include the following:
- Docker Engine logs: Located at /var/log/docker
- ECS Agent logs: Located at /var/log/ecs
Note that there are two types of ECS agent logs:
- Init logs: Located at /var/log/ecs/ecs-init.log, these logs provide output related to the ecs-init service, which is an Upstart service that ensures the ECS agent is running on container instance startup.
- Agent logs: Located at /var/log/ecs/ecs-agent.log.*, these logs provide output related to ECS agent operation. These logs are the most common logs you will inspect for any ECS agent related issues.