From 2ff47d386fd0330690014fc4c2d65d30166f352d Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Fri, 17 Jun 2016 16:35:40 -0400 Subject: [PATCH] set ECS_AVAILABLE_LOGGING_DRIVERS to include awslogs 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 #385 --- opsworks_ecs/templates/default/ecs.config.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/opsworks_ecs/templates/default/ecs.config.erb b/opsworks_ecs/templates/default/ecs.config.erb index c145c4a878..b86967ade0 100644 --- a/opsworks_ecs/templates/default/ecs.config.erb +++ b/opsworks_ecs/templates/default/ecs.config.erb @@ -2,3 +2,4 @@ ECS_LOGFILE=/log/ecs-agent.log ECS_LOGLEVEL=<%= node["opsworks_ecs"]["ecs-agent"]["loglevel"] %> ECS_DATADIR=/data ECS_CLUSTER=<%= node["opsworks_ecs"]["ecs_cluster_name"] %> +ECS_AVAILABLE_LOGGING_DRIVERS=["json-file","awslogs"]