Project: mesos
Issue MESOS-3348: Add either log rotation or capped-size logging (for tasks)
Tasks currently log their output (i.e. stdout/stderr) to files (the "sandbox") on an agent's disk. In some cases, the accumulation of these logs can completely fill up the agent's disk and thereby kill the task or machine. To prevent this, we should either implement a log rotation mechanism or capped-size logging. This would be used by executors to control the amount of logs they keep. Master/agent logs will not be affected. We will first scope out several possible approaches for log rotation/capping in a design document (see [MESOS-3356]). Once an approach is chosen, this story will be broken down into some corresponding issues.
Story points: 13