title: How can i setup aws cloudwatch logs with docker ecs container
body: <p>I am using Amazon ECS and docker image is using php application.
  Everything is running fine.</p>
  
  <p>In the entry point i am using <code>supervisord</code> in foreground and those logs are currently send to cloudwatch logs.</p>
  
  <p>In my docker image i have logs send to files </p>
  
  <pre><code>/var/log/apache2/error.log
  /var/log/apache2/access.log
  /var/app/logs/dev.log
  /var/app/logs/prod.log
  </code></pre>
  
  <p>Now i want to send those logs to aws cloudwatch. whats the best way for that.
  Also i have multiple containers for single app so  example all foour containers will be having these logs.</p>
  
  <p>Initially i thought to install aws logs agent in container itself but i have to use same docke rimage for local and ci and nonprod environments  so i dont want to use cloudwatch logs there.</p>
  
  <p>Is there any other way for this?</p>