{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12296","labels_url":"https://api.github.com/repos/docker/docker/issues/12296/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12296/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12296/events","html_url":"https://github.com/docker/docker/pull/12296","id":67794590,"number":12296,"title":"Switch syslog to log the container name if available, not ID","user":{"login":"ibuildthecloud","id":1754002,"avatar_url":"https://avatars.githubusercontent.com/u/1754002?v=3","gravatar_id":"","url":"https://api.github.com/users/ibuildthecloud","html_url":"https://github.com/ibuildthecloud","followers_url":"https://api.github.com/users/ibuildthecloud/followers","following_url":"https://api.github.com/users/ibuildthecloud/following{/other_user}","gists_url":"https://api.github.com/users/ibuildthecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuildthecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuildthecloud/subscriptions","organizations_url":"https://api.github.com/users/ibuildthecloud/orgs","repos_url":"https://api.github.com/users/ibuildthecloud/repos","events_url":"https://api.github.com/users/ibuildthecloud/events{/privacy}","received_events_url":"https://api.github.com/users/ibuildthecloud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/0-needs-triage","name":"status/0-needs-triage","color":"EEEEEE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-11T14:42:10Z","updated_at":"2015-04-11T19:52:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/12296","html_url":"https://github.com/docker/docker/pull/12296","diff_url":"https://github.com/docker/docker/pull/12296.diff","patch_url":"https://github.com/docker/docker/pull/12296.patch"},"body":"As I've been using the syslog integration I've found the usability to be quite poor.  Logging the container ID is often not useful.  For \"system\" level thing I most always run them as ephemeral, which means on each system boot I delete the container and create a new one.  When you do this the ID obviously changes.  If I look back at the syslog from some time ago I can no longer correlate log messages to container because there is no reference for the ID.  By using the container name, if you name your containers, you at least get some better way to correlate log messages."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/91918032","html_url":"https://github.com/docker/docker/pull/12296#issuecomment-91918032","issue_url":"https://api.github.com/repos/docker/docker/issues/12296","id":91918032,"user":{"login":"ibuildthecloud","id":1754002,"avatar_url":"https://avatars.githubusercontent.com/u/1754002?v=3","gravatar_id":"","url":"https://api.github.com/users/ibuildthecloud","html_url":"https://github.com/ibuildthecloud","followers_url":"https://api.github.com/users/ibuildthecloud/followers","following_url":"https://api.github.com/users/ibuildthecloud/following{/other_user}","gists_url":"https://api.github.com/users/ibuildthecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuildthecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuildthecloud/subscriptions","organizations_url":"https://api.github.com/users/ibuildthecloud/orgs","repos_url":"https://api.github.com/users/ibuildthecloud/repos","events_url":"https://api.github.com/users/ibuildthecloud/events{/privacy}","received_events_url":"https://api.github.com/users/ibuildthecloud/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T19:52:01Z","updated_at":"2015-04-11T19:52:01Z","body":"@phemmer I could go with that, the length of the log message just gets longer. \r\n\r\n@unclejack once we have the log opts from the rollover PR it will be configurable per container"}}