Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS configuration should set ECS_AVAILABLE_LOGGING_DRIVERS with awslogs #385

Open
joeshaw opened this issue Jun 17, 2016 · 0 comments
Open

Comments

@joeshaw
Copy link

joeshaw commented Jun 17, 2016

From http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html:

If you are not using the Amazon ECS-optimized AMI (with at least version 1.9.0-1 of the ecs-init package) for your container instances, you also need to specify that the awslogs logging driver is available on the container instance when you start the agent by using the following environment variable in your docker run statement or environment variable file. For more information, see Installing the Amazon ECS Container Agent.

ECS_AVAILABLE_LOGGING_DRIVERS=["json-file","awslogs"]

It would be nice if this worked out of the box on OpsWorks instances by setting it in https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/opsworks_ecs/templates/default/ecs.config.erb

joeshaw added a commit to joeshaw/opsworks-cookbooks that referenced this issue Jun 17, 2016
Set `ECS_AVAILABLE_LOGGING_DRIVERS` to `["json-file","awslogs"]`.  This is suggested by http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html

Fixes aws#385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant