title: Send ECS Container Logs to CloudWatch
body: <p>We've a PHP application that is pushed to ECR Fargate and we've configured an ECS task definition for it, and it works fine as a container in ECS.</p>
  
  <p>I've configured aws-logs for the application and it sends the app logs normally to cloudwatch, but I'm wondering how to send the logs in a file inside the container in </p>
  
  <blockquote>
    <p>"/var/www/html/app/var/dev.log"</p>
  </blockquote>
  
  <p>to the same log group that I configured when created the task definition.</p>