[ 
https://issues.apache.org/jira/browse/MESOS-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084224#comment-14084224
 ] 

Jay Buffington commented on MESOS-1652:
---------------------------------------

I see three alternatives:

   * fork off {{docker logs --follow}}
   * use a libcurl call to GET /containers/(id)/logs
   * parse /var/lib/docker/containers/(id)/(id)-json.log

These all have downsides.  Too bad there isn't a library to link against that 
would return an fd.

> Stream Docker logs into sandbox logs
> ------------------------------------
>
>                 Key: MESOS-1652
>                 URL: https://issues.apache.org/jira/browse/MESOS-1652
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Timothy Chen
>            Assignee: Timothy Chen
>
> We should write logs either during or after the task launched the logs from 
> the docker container into the sandbox so it can be viewed without actually 
> going to the host and calling "docker logs".



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to