{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/13707","labels_url":"https://api.github.com/repos/docker/docker/issues/13707/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/13707/comments","events_url":"https://api.github.com/repos/docker/docker/issues/13707/events","html_url":"https://github.com/docker/docker/pull/13707","id":84697934,"number":13707,"title":"Implement the \"logs\" endpoint for the journald log driver","user":{"login":"nalind","id":1200159,"avatar_url":"https://avatars.githubusercontent.com/u/1200159?v=3","gravatar_id":"","url":"https://api.github.com/users/nalind","html_url":"https://github.com/nalind","followers_url":"https://api.github.com/users/nalind/followers","following_url":"https://api.github.com/users/nalind/following{/other_user}","gists_url":"https://api.github.com/users/nalind/gists{/gist_id}","starred_url":"https://api.github.com/users/nalind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalind/subscriptions","organizations_url":"https://api.github.com/users/nalind/orgs","repos_url":"https://api.github.com/users/nalind/repos","events_url":"https://api.github.com/users/nalind/events{/privacy}","received_events_url":"https://api.github.com/users/nalind/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/1-needs-design-review","name":"status/1-needs-design-review","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-03T18:12:23Z","updated_at":"2015-06-08T21:14:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/13707","html_url":"https://github.com/docker/docker/pull/13707","diff_url":"https://github.com/docker/docker/pull/13707.diff","patch_url":"https://github.com/docker/docker/pull/13707.patch"},"body":"This change set uses the journald libraries to read log entries from the journal, and hooks that up to the \"logs\" endpoint.  It moves handling of the --last option out of the endpoint logic and into the log drivers themselves, because doing so has the potential cut down on how much data the journald driver will have to dump to its pipe.\r\n\r\nIt's multiple patches to hopefully be easier to review, but I have no qualms about squashing things together if that's preferred."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/110142272","html_url":"https://github.com/docker/docker/pull/13707#issuecomment-110142272","issue_url":"https://api.github.com/repos/docker/docker/issues/13707","id":110142272,"user":{"login":"LK4D4","id":101445,"avatar_url":"https://avatars.githubusercontent.com/u/101445?v=3","gravatar_id":"","url":"https://api.github.com/users/LK4D4","html_url":"https://github.com/LK4D4","followers_url":"https://api.github.com/users/LK4D4/followers","following_url":"https://api.github.com/users/LK4D4/following{/other_user}","gists_url":"https://api.github.com/users/LK4D4/gists{/gist_id}","starred_url":"https://api.github.com/users/LK4D4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LK4D4/subscriptions","organizations_url":"https://api.github.com/users/LK4D4/orgs","repos_url":"https://api.github.com/users/LK4D4/repos","events_url":"https://api.github.com/users/LK4D4/events{/privacy}","received_events_url":"https://api.github.com/users/LK4D4/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T21:14:09Z","updated_at":"2015-06-08T21:14:09Z","body":"@nalind I run\r\n```\r\ndocker run -d --log-driver=journald busybox ping google.com\r\n```\r\nand then just do `docker logs -f` on that container. Nothing in daemon logs also."}}