{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/21613","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/21613/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/21613/comments","events_url":"https://api.github.com/repos/docker/docker/issues/21613/events","html_url":"https://github.com/docker/docker/pull/21613","id":144224756,"number":21613,"title":"Support unixgram syslog address","user":{"login":"wzyboy","id":459384,"avatar_url":"https://avatars.githubusercontent.com/u/459384?v=3","gravatar_id":"","url":"https://api.github.com/users/wzyboy","html_url":"https://github.com/wzyboy","followers_url":"https://api.github.com/users/wzyboy/followers","following_url":"https://api.github.com/users/wzyboy/following{/other_user}","gists_url":"https://api.github.com/users/wzyboy/gists{/gist_id}","starred_url":"https://api.github.com/users/wzyboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzyboy/subscriptions","organizations_url":"https://api.github.com/users/wzyboy/orgs","repos_url":"https://api.github.com/users/wzyboy/repos","events_url":"https://api.github.com/users/wzyboy/events{/privacy}","received_events_url":"https://api.github.com/users/wzyboy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-29T10:38:05Z","updated_at":"2016-03-31T17:51:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/21613","html_url":"https://github.com/docker/docker/pull/21613","diff_url":"https://github.com/docker/docker/pull/21613.diff","patch_url":"https://github.com/docker/docker/pull/21613.patch"},"body":"This tends to fix https://github.com/docker/docker/issues/18903.\r\n\r\nThe underlying syslog library (RackSec/srslog) supports both `unix://` and `unixgram://` socket protocols, the latter of which is used by systemd-journald and rsyslog. But Docker does not allow `unixgram://` as `syslog-address`, making users unable to specify alternative syslog socket."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/204050263","html_url":"https://github.com/docker/docker/pull/21613#issuecomment-204050263","issue_url":"https://api.github.com/repos/docker/docker/issues/21613","id":204050263,"user":{"login":"phemmer","id":1826947,"avatar_url":"https://avatars.githubusercontent.com/u/1826947?v=3","gravatar_id":"","url":"https://api.github.com/users/phemmer","html_url":"https://github.com/phemmer","followers_url":"https://api.github.com/users/phemmer/followers","following_url":"https://api.github.com/users/phemmer/following{/other_user}","gists_url":"https://api.github.com/users/phemmer/gists{/gist_id}","starred_url":"https://api.github.com/users/phemmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phemmer/subscriptions","organizations_url":"https://api.github.com/users/phemmer/orgs","repos_url":"https://api.github.com/users/phemmer/repos","events_url":"https://api.github.com/users/phemmer/events{/privacy}","received_events_url":"https://api.github.com/users/phemmer/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:51:01Z","updated_at":"2016-03-31T17:51:01Z","body":"> it attempts to connect to unix, and if it can't, then it attempts to connect to unixgram?\r\n\r\nYes, that's the idea.\r\n\r\n> From the code at https://git.kernel.org/cgit/utils/util-linux/util-linux.git/tree/misc-utils/logger.c#n245 it looks like it goes the other way around, attempting unixgram first and falling back to unix.\r\n\r\nPersonally I don't think the order of which it tries is very important, just as long as it tries one then the other. Glibc goes stream->dgram while util-linux goes dgram->stream."}}