{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1816","labels_url":"https://api.github.com/repos/docker/compose/issues/1816/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1816/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1816/events","html_url":"https://github.com/docker/compose/issues/1816","id":99441087,"number":1816,"title":"Failed to initialize logging driver: Unix syslog delivery error","user":{"login":"flower-pot","id":4546722,"avatar_url":"https://avatars.githubusercontent.com/u/4546722?v=3","gravatar_id":"","url":"https://api.github.com/users/flower-pot","html_url":"https://github.com/flower-pot","followers_url":"https://api.github.com/users/flower-pot/followers","following_url":"https://api.github.com/users/flower-pot/following{/other_user}","gists_url":"https://api.github.com/users/flower-pot/gists{/gist_id}","starred_url":"https://api.github.com/users/flower-pot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flower-pot/subscriptions","organizations_url":"https://api.github.com/users/flower-pot/orgs","repos_url":"https://api.github.com/users/flower-pot/repos","events_url":"https://api.github.com/users/flower-pot/events{/privacy}","received_events_url":"https://api.github.com/users/flower-pot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-06T14:00:01Z","updated_at":"2015-08-06T14:05:26Z","closed_at":"2015-08-06T14:05:26Z","body":"I wanted to try out the log-driver and log-opt added in #1388 and #1665.\r\n\r\nMy `docker-compose.yml` looks like this:\r\n\r\n```\r\nweb:\r\n  image: flowerpot/goif\r\n  ports:\r\n    - \"8080:8080\"\r\n  log_driver: \"syslog\"\r\n  log_opt:\r\n    address: \"udp://syslog-server:514\"\r\n```\r\n\r\nHowever, when I do `docker-compose up` I get the following error:\r\n\r\n```Failed to initialize logging driver: Unix syslog delivery error```\r\n\r\nWhich is weird because this works:\r\n\r\n```docker run --rm -p 8080:8080 --log-driver=syslog --log-opt syslog-address=udp://syslog-server:514 flowerpot/goif```\r\n\r\nShouldn't that be equivalent?\r\n\r\nVersions:\r\n\r\n```\r\ndocker-compose version: 1.4.0rc3\r\n```\r\n\r\n```\r\nClient version: 1.7.1\r\nClient API version: 1.19\r\nGo version (client): go1.4.2\r\nGit commit (client): 786b29d\r\nOS/Arch (client): darwin/amd64\r\nServer version: 1.7.1\r\nServer API version: 1.19\r\nGo version (server): go1.4.2\r\nGit commit (server): 786b29d\r\nOS/Arch (server): linux/amd64\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/128376963","html_url":"https://github.com/docker/compose/issues/1816#issuecomment-128376963","issue_url":"https://api.github.com/repos/docker/compose/issues/1816","id":128376963,"user":{"login":"flower-pot","id":4546722,"avatar_url":"https://avatars.githubusercontent.com/u/4546722?v=3","gravatar_id":"","url":"https://api.github.com/users/flower-pot","html_url":"https://github.com/flower-pot","followers_url":"https://api.github.com/users/flower-pot/followers","following_url":"https://api.github.com/users/flower-pot/following{/other_user}","gists_url":"https://api.github.com/users/flower-pot/gists{/gist_id}","starred_url":"https://api.github.com/users/flower-pot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flower-pot/subscriptions","organizations_url":"https://api.github.com/users/flower-pot/orgs","repos_url":"https://api.github.com/users/flower-pot/repos","events_url":"https://api.github.com/users/flower-pot/events{/privacy}","received_events_url":"https://api.github.com/users/flower-pot/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T14:05:26Z","updated_at":"2015-08-06T14:05:26Z","body":"You are absolutely right, sorry about that..."}}