aws / aws/containers-roadmap

[ECS] Configure log driver for the amazon-ecs-agent container itself (awslogs, splunk, etc)

Open
#730 12 comments 12 reactions 0 assignees View on GitHub
ECS
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

First of all, I really like the simplicity this project provides!

If I'm not mistaken, it is currently not possible to configure the logging of the agent container itself. The agent will pick up the ecs.config but I see no way to configure the agent's logging.

What I would like is to pass

```
--log-driver=awslogs \
--log-opt awslogs-region=${aws_region} \
--log-opt awslogs-group=${ecs_log_group_name} \
```

arguments to the agent container.

Did I miss something or is there a way to hook into the agent start?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.