I have an ECS cluster newly set up and was wondering if the below configuration will store the logs to the disk even though they are forwarded to CloudWatch:
"logConfiguration": {
"logDriver": "awslogs",
"secretOptions": null,
"options": {
"awslogs-group": "logGroupName",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "PrefixName"
}
}
I am just wondering if I still need to create a cronjob to manually clear these logs out from time to time.
Thanks