There were also known issues with losing docker logs on shutdown prior to 1.0.0:

https://issues.apache.org/jira/browse/MESOS-4279

> On Nov 10, 2016, at 9:24 AM, Joseph Wu <[email protected]> wrote:
> 
> You can think of Mesos sandbox logs like:
> 
> docker run ... > $MESOS_SANDBOX/stdout 2>&1 $MESOS_SANDBOX/stderr
> 
> If `docker stop` happens to interrupt the above streams, you will lose some 
> lines.  The behavior here seems to depend heavily on the version of Docker 
> you happen to be using.
> 
> On Thu, Nov 10, 2016 at 7:24 AM, Hendrik Haddorp <[email protected]> 
> wrote:
> Hi,
> 
> it looks like on Mesos 0.28.2 Mesos stops receiving the logs once the docker 
> containerizer called "docker stop" and thus is missing logs one might do in a 
> graceful shutdown. I do at least see more logs when I do "docker logs -f 
> ...." compared to what I can see in Mesos. This is when you set the docker 
> stop timeout to more then 0ns. Is this expected?
> 
> regards,
> Hendrik
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to