{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1388","labels_url":"https://api.github.com/repos/docker/compose/issues/1388/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1388/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1388/events","html_url":"https://github.com/docker/compose/pull/1388","id":73383122,"number":1388,"title":"Add support for log-driver as a docker-compose.yml option","user":{"login":"vdemeester","id":6508,"avatar_url":"https://avatars.githubusercontent.com/u/6508?v=3","gravatar_id":"","url":"https://api.github.com/users/vdemeester","html_url":"https://github.com/vdemeester","followers_url":"https://api.github.com/users/vdemeester/followers","following_url":"https://api.github.com/users/vdemeester/following{/other_user}","gists_url":"https://api.github.com/users/vdemeester/gists{/gist_id}","starred_url":"https://api.github.com/users/vdemeester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdemeester/subscriptions","organizations_url":"https://api.github.com/users/vdemeester/orgs","repos_url":"https://api.github.com/users/vdemeester/repos","events_url":"https://api.github.com/users/vdemeester/events{/privacy}","received_events_url":"https://api.github.com/users/vdemeester/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/compose/milestones/5","html_url":"https://github.com/docker/compose/milestones/1.3.0","labels_url":"https://api.github.com/repos/docker/compose/milestones/5/labels","id":1076878,"number":5,"title":"1.3.0","description":"","creator":{"login":"aanand","id":1062,"avatar_url":"https://avatars.githubusercontent.com/u/1062?v=3","gravatar_id":"","url":"https://api.github.com/users/aanand","html_url":"https://github.com/aanand","followers_url":"https://api.github.com/users/aanand/followers","following_url":"https://api.github.com/users/aanand/following{/other_user}","gists_url":"https://api.github.com/users/aanand/gists{/gist_id}","starred_url":"https://api.github.com/users/aanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanand/subscriptions","organizations_url":"https://api.github.com/users/aanand/orgs","repos_url":"https://api.github.com/users/aanand/repos","events_url":"https://api.github.com/users/aanand/events{/privacy}","received_events_url":"https://api.github.com/users/aanand/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":38,"state":"open","created_at":"2015-04-21T10:40:09Z","updated_at":"2015-06-04T15:03:37Z","due_on":"2015-06-15T23:00:00Z","closed_at":null},"comments":6,"created_at":"2015-05-05T17:54:56Z","updated_at":"2015-06-05T15:09:53Z","closed_at":"2015-05-07T16:00:42Z","pull_request":{"url":"https://api.github.com/repos/docker/compose/pulls/1388","html_url":"https://github.com/docker/compose/pull/1388","diff_url":"https://github.com/docker/compose/pull/1388.diff","patch_url":"https://github.com/docker/compose/pull/1388.patch"},"body":"Discussed in #1303, as ``docker-py`` version 1.2.1 support this, we can add it as an option for ``docker-compose.yml`` files.\r\n\r\nIt's kept simple for now, the config files would look like :\r\n\r\n```yaml\r\nweb1:\r\n    image: busybox\r\n    log_driver: syslog\r\nweb2:\r\n    image: busybox\r\n    log_driver: json-file\r\nweb3:\r\n    image: busybox\r\n    log_driver: none\r\n```\r\n\r\nThe choice of ``log_driver`` is to keep it coherent with the ``--log-driver`` option of ``docker run`` (even though it's ``LogConfig`` in the API).\r\n\r\nSigned-off-by: Vincent Demeester <vincent@sbr.pm>"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/109323108","html_url":"https://github.com/docker/compose/pull/1388#issuecomment-109323108","issue_url":"https://api.github.com/repos/docker/compose/issues/1388","id":109323108,"user":{"login":"aanand","id":1062,"avatar_url":"https://avatars.githubusercontent.com/u/1062?v=3","gravatar_id":"","url":"https://api.github.com/users/aanand","html_url":"https://github.com/aanand","followers_url":"https://api.github.com/users/aanand/followers","following_url":"https://api.github.com/users/aanand/following{/other_user}","gists_url":"https://api.github.com/users/aanand/gists{/gist_id}","starred_url":"https://api.github.com/users/aanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanand/subscriptions","organizations_url":"https://api.github.com/users/aanand/orgs","repos_url":"https://api.github.com/users/aanand/repos","events_url":"https://api.github.com/users/aanand/events{/privacy}","received_events_url":"https://api.github.com/users/aanand/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T15:09:53Z","updated_at":"2015-06-05T15:09:53Z","body":"@nick-allen `log_driver` should get passed through when you extend a service, yes."}}