Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Why not just enable awslogs as a log driver in the ECS Task Definition UI? #3

Open
astewart-twist opened this issue Jan 13, 2016 · 3 comments

Comments

@astewart-twist
Copy link

All the ingredients exist... the Docker server API 9+, log-driver options,.. heck you can even log directly into the ECS ec2 instance and manually run a docker container with the awslog driver. Is there anything beyond the UI adjustment?

@Seraf
Copy link

Seraf commented Jan 28, 2016

Hello,

I'm interested too by a more "native" solution with awslog driver. Have you done some tests @astewart-twist ?

Thanks

@astewart-twist
Copy link
Author

@Seraf Amazon needs to update ECS Task Definitions to allow 'awslog' as the task definition logger. All the other ingredients are there.

In the meantime I have been using 'syslog' and have the ecs-instances sending their syslog to CloudWatch via the awslogs service (on the ec2 instance itself). It's not a great solution but it beats manually logging into ecs-instances to skim docker logs.

@Seraf
Copy link

Seraf commented Jan 28, 2016

Thanks for the answer, I found this PR : aws/amazon-ecs-agent#251

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants