{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/936","labels_url":"https://api.github.com/repos/docker/docker/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/936/comments","events_url":"https://api.github.com/repos/docker/docker/issues/936/events","html_url":"https://github.com/docker/docker/issues/936","id":15743956,"number":936,"title":"Enhance the docker (daemon) logging","user":{"login":"kencochrane","id":261601,"avatar_url":"https://avatars.githubusercontent.com/u/261601?v=3","gravatar_id":"","url":"https://api.github.com/users/kencochrane","html_url":"https://github.com/kencochrane","followers_url":"https://api.github.com/users/kencochrane/followers","following_url":"https://api.github.com/users/kencochrane/following{/other_user}","gists_url":"https://api.github.com/users/kencochrane/gists{/gist_id}","starred_url":"https://api.github.com/users/kencochrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kencochrane/subscriptions","organizations_url":"https://api.github.com/users/kencochrane/orgs","repos_url":"https://api.github.com/users/kencochrane/repos","events_url":"https://api.github.com/users/kencochrane/events{/privacy}","received_events_url":"https://api.github.com/users/kencochrane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/logging","name":"area/logging","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2013-06-19T13:21:32Z","updated_at":"2015-10-23T16:13:18Z","closed_at":"2015-02-20T18:45:58Z","body":"Right now it is really hard to debug what is going on inside of docker when you are trying to work with it. If you are using upstart you can find some logs in /var/log/upstart/dockerd.log, and you can run docker in debug mode, to get a little more detail but sometimes it isn't enough.\r\n\r\nIt would be nice to make the docker logs more consistant. Ideally we would by default add logs to /var/log/docker/dockerd.log, and allow people to pass in parameters to override the default log file location and name. \r\n\r\nIt would be nice to have different configurable log levels as well: DEBUG, INFO, ERROR, etc.\r\n\r\nIt would be really nice if we could break out logs by different parts of the system (API, etc), but one file is fine for now. \r\n\r\nHopefully once we make this infrastructure changes, then we can add more logging statements to the code base. \r\n\r\nreally cool future feature, would be the ability to stream the docker logs via the API, so that you can collect those logs in one place and watch more then one server at once.\r\n\r\nI would love to hear what people think about this idea?"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/150621984","html_url":"https://github.com/docker/docker/issues/936#issuecomment-150621984","issue_url":"https://api.github.com/repos/docker/docker/issues/936","id":150621984,"user":{"login":"mausch","id":95194,"avatar_url":"https://avatars.githubusercontent.com/u/95194?v=3","gravatar_id":"","url":"https://api.github.com/users/mausch","html_url":"https://github.com/mausch","followers_url":"https://api.github.com/users/mausch/followers","following_url":"https://api.github.com/users/mausch/following{/other_user}","gists_url":"https://api.github.com/users/mausch/gists{/gist_id}","starred_url":"https://api.github.com/users/mausch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mausch/subscriptions","organizations_url":"https://api.github.com/users/mausch/orgs","repos_url":"https://api.github.com/users/mausch/repos","events_url":"https://api.github.com/users/mausch/events{/privacy}","received_events_url":"https://api.github.com/users/mausch/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T16:13:18Z","updated_at":"2015-10-23T16:13:18Z","body":"@cpuguy83 That's where the docker daemon logs go in a default install on Ubuntu 14.04... Just to confirm, timestamps should be enabled by default, correct? I'll see if I can repro on a clean box and create a new github issue. Cheers."}}