Project: mesos
Issue MESOS-4136: Add a ContainerLogger module that restrains log sizes
One of the major problems this logger module aims to solve is overflowing executor/task log files. Log files are simply written to disk, and are not managed other than via occasional garbage collection by the agent process (and this only deals with terminated executors). We should add a {{ContainerLogger}} module that truncates logs as it reaches a configurable maximum size. Additionally, we should determine if the web UI's {{pailer}} needs to be changed to deal with logs that are not append-only. This will be a non-default module which will also serve as an example for how to implement the module.
Story points: 3