Skip to content

Instantly share code, notes, and snippets.

@brandon-dacrib
Last active May 11, 2017 21:16
Show Gist options
  • Save brandon-dacrib/47b6bb80e9d5b5332c61b04254174833 to your computer and use it in GitHub Desktop.
Save brandon-dacrib/47b6bb80e9d5b5332c61b04254174833 to your computer and use it in GitHub Desktop.
diff --git a/cf/ecs/asg.cfn.yaml b/cf/ecs/asg.cfn.yaml
index 79527fd..87ae46e 100644
--- a/cf/ecs/asg.cfn.yaml
+++ b/cf/ecs/asg.cfn.yaml
@@ -226,6 +226,7 @@ Resources:
echo 'OPTIONS="$OPTIONS --storage-opt dm.basesize=25G"' >> /etc/sysconfig/docker
echo ECS_CLUSTER=${Cluster} >> /etc/ecs/ecs.config
echo ECS_CONTAINER_STOP_TIMEOUT=${EcsTimeout} >> /etc/ecs/ecs.config
+ echo ECS_AVAILABLE_LOGGING_DRIVERS='["splunk","awslogs"]' >> /etc/ecs/ecs.config
/etc/init.d/sendmail stop
/etc/init.d/docker stop
/etc/init.d/docker start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment