{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/rkt/pulls/comments/76768994","id":76768994,"diff_hunk":"@@ -129,6 +129,28 @@ $ journalctl -M rkt-bc3c1451-2e81-45c6-aeb0-807db44e31b4 -t redis\n \n Additionaly, logs can be programmatically accessed via the [sd-journal API](https://www.freedesktop.org/software/systemd/man/sd-journal.html).\n \n+Currently there are two known main issues with logging in rkt:\n+* In some rare situations when an application inside the pod is writing to `/dev/stdout` and `/dev/stderr` (i.e. nginx) there is no way to obtain logs.\n+ The app should be modified so it will write to `stdout` or `syslog`. In the case of nginx:\n+ ```\n+ error_log stderr;\n+ \n+ http {\n+     access_log syslog:server=unix:/dev/log main;\n+     [...]\n+ }\n+ ```\n+ should be added to ```/etc/nginx/nginx.conf```\n+\n+* If application inside the pod (i.e. newest etcd) writes directly to journald, it's resulting in its log entries being scoped by machine UUID.","path":"Documentation/commands.md","position":17,"original_position":17,"commit_id":"3b3840eea57742cda49f26b3bb1251cd0136cb3d","original_commit_id":"3b3840eea57742cda49f26b3bb1251cd0136cb3d","user":{"login":"pskrzyns","id":16152568,"avatar_url":"https://avatars.githubusercontent.com/u/16152568?v=3","gravatar_id":"","url":"https://api.github.com/users/pskrzyns","html_url":"https://github.com/pskrzyns","followers_url":"https://api.github.com/users/pskrzyns/followers","following_url":"https://api.github.com/users/pskrzyns/following{/other_user}","gists_url":"https://api.github.com/users/pskrzyns/gists{/gist_id}","starred_url":"https://api.github.com/users/pskrzyns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pskrzyns/subscriptions","organizations_url":"https://api.github.com/users/pskrzyns/orgs","repos_url":"https://api.github.com/users/pskrzyns/repos","events_url":"https://api.github.com/users/pskrzyns/events{/privacy}","received_events_url":"https://api.github.com/users/pskrzyns/received_events","type":"User","site_admin":false},"body":"thx @joshix ","created_at":"2016-08-30T10:25:21Z","updated_at":"2016-08-30T10:25:21Z","html_url":"https://github.com/coreos/rkt/pull/2954#discussion_r76768994","pull_request_url":"https://api.github.com/repos/coreos/rkt/pulls/2954","_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments/76768994"},"html":{"href":"https://github.com/coreos/rkt/pull/2954#discussion_r76768994"},"pull_request":{"href":"https://api.github.com/repos/coreos/rkt/pulls/2954"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/rkt/pulls/2954","id":78186290,"html_url":"https://github.com/coreos/rkt/pull/2954","diff_url":"https://github.com/coreos/rkt/pull/2954.diff","patch_url":"https://github.com/coreos/rkt/pull/2954.patch","issue_url":"https://api.github.com/repos/coreos/rkt/issues/2954","number":2954,"state":"open","locked":false,"title":"logging issues documentation","user":{"login":"pskrzyns","id":16152568,"avatar_url":"https://avatars.githubusercontent.com/u/16152568?v=3","gravatar_id":"","url":"https://api.github.com/users/pskrzyns","html_url":"https://github.com/pskrzyns","followers_url":"https://api.github.com/users/pskrzyns/followers","following_url":"https://api.github.com/users/pskrzyns/following{/other_user}","gists_url":"https://api.github.com/users/pskrzyns/gists{/gist_id}","starred_url":"https://api.github.com/users/pskrzyns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pskrzyns/subscriptions","organizations_url":"https://api.github.com/users/pskrzyns/orgs","repos_url":"https://api.github.com/users/pskrzyns/repos","events_url":"https://api.github.com/users/pskrzyns/events{/privacy}","received_events_url":"https://api.github.com/users/pskrzyns/received_events","type":"User","site_admin":false},"body":"Documentation changes to cover some logging caveats.\r\n\r\nCloses #2640\r\nCloses #2417","created_at":"2016-07-20T17:23:42Z","updated_at":"2016-08-30T10:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac638f66ffea2f7dfb904ab220a5df554c545be8","assignee":{"login":"joshix","id":72905,"avatar_url":"https://avatars.githubusercontent.com/u/72905?v=3","gravatar_id":"","url":"https://api.github.com/users/joshix","html_url":"https://github.com/joshix","followers_url":"https://api.github.com/users/joshix/followers","following_url":"https://api.github.com/users/joshix/following{/other_user}","gists_url":"https://api.github.com/users/joshix/gists{/gist_id}","starred_url":"https://api.github.com/users/joshix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshix/subscriptions","organizations_url":"https://api.github.com/users/joshix/orgs","repos_url":"https://api.github.com/users/joshix/repos","events_url":"https://api.github.com/users/joshix/events{/privacy}","received_events_url":"https://api.github.com/users/joshix/received_events","type":"User","site_admin":false},"assignees":[{"login":"joshix","id":72905,"avatar_url":"https://avatars.githubusercontent.com/u/72905?v=3","gravatar_id":"","url":"https://api.github.com/users/joshix","html_url":"https://github.com/joshix","followers_url":"https://api.github.com/users/joshix/followers","following_url":"https://api.github.com/users/joshix/following{/other_user}","gists_url":"https://api.github.com/users/joshix/gists{/gist_id}","starred_url":"https://api.github.com/users/joshix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshix/subscriptions","organizations_url":"https://api.github.com/users/joshix/orgs","repos_url":"https://api.github.com/users/joshix/repos","events_url":"https://api.github.com/users/joshix/events{/privacy}","received_events_url":"https://api.github.com/users/joshix/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/coreos/rkt/milestones/48","html_url":"https://github.com/coreos/rkt/milestones/v1.14.0","labels_url":"https://api.github.com/repos/coreos/rkt/milestones/48/labels","id":1922996,"number":48,"title":"v1.14.0","description":"","creator":{"login":"lucab","id":98086,"avatar_url":"https://avatars.githubusercontent.com/u/98086?v=3","gravatar_id":"","url":"https://api.github.com/users/lucab","html_url":"https://github.com/lucab","followers_url":"https://api.github.com/users/lucab/followers","following_url":"https://api.github.com/users/lucab/following{/other_user}","gists_url":"https://api.github.com/users/lucab/gists{/gist_id}","starred_url":"https://api.github.com/users/lucab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucab/subscriptions","organizations_url":"https://api.github.com/users/lucab/orgs","repos_url":"https://api.github.com/users/lucab/repos","events_url":"https://api.github.com/users/lucab/events{/privacy}","received_events_url":"https://api.github.com/users/lucab/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":18,"state":"open","created_at":"2016-08-04T07:34:12Z","updated_at":"2016-08-30T10:11:53Z","due_on":"2016-09-01T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/coreos/rkt/pulls/2954/commits","review_comments_url":"https://api.github.com/repos/coreos/rkt/pulls/2954/comments","review_comment_url":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/2954/comments","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/3b3840eea57742cda49f26b3bb1251cd0136cb3d","head":{"label":"intelsdi-x:logging_issues","ref":"logging_issues","sha":"3b3840eea57742cda49f26b3bb1251cd0136cb3d","user":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"repo":{"id":38779722,"name":"rkt","full_name":"intelsdi-x/rkt","owner":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intelsdi-x/rkt","description":"rkt is an App Container runtime for Linux","fork":true,"url":"https://api.github.com/repos/intelsdi-x/rkt","forks_url":"https://api.github.com/repos/intelsdi-x/rkt/forks","keys_url":"https://api.github.com/repos/intelsdi-x/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intelsdi-x/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intelsdi-x/rkt/teams","hooks_url":"https://api.github.com/repos/intelsdi-x/rkt/hooks","issue_events_url":"https://api.github.com/repos/intelsdi-x/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/intelsdi-x/rkt/events","assignees_url":"https://api.github.com/repos/intelsdi-x/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/intelsdi-x/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/intelsdi-x/rkt/tags","blobs_url":"https://api.github.com/repos/intelsdi-x/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intelsdi-x/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intelsdi-x/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/intelsdi-x/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intelsdi-x/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/intelsdi-x/rkt/languages","stargazers_url":"https://api.github.com/repos/intelsdi-x/rkt/stargazers","contributors_url":"https://api.github.com/repos/intelsdi-x/rkt/contributors","subscribers_url":"https://api.github.com/repos/intelsdi-x/rkt/subscribers","subscription_url":"https://api.github.com/repos/intelsdi-x/rkt/subscription","commits_url":"https://api.github.com/repos/intelsdi-x/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/intelsdi-x/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/intelsdi-x/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/intelsdi-x/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/intelsdi-x/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/intelsdi-x/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intelsdi-x/rkt/merges","archive_url":"https://api.github.com/repos/intelsdi-x/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intelsdi-x/rkt/downloads","issues_url":"https://api.github.com/repos/intelsdi-x/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/intelsdi-x/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/intelsdi-x/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/intelsdi-x/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intelsdi-x/rkt/labels{/name}","releases_url":"https://api.github.com/repos/intelsdi-x/rkt/releases{/id}","deployments_url":"https://api.github.com/repos/intelsdi-x/rkt/deployments","created_at":"2015-07-08T21:00:32Z","updated_at":"2016-06-16T09:44:10Z","pushed_at":"2016-08-29T15:56:58Z","git_url":"git://github.com/intelsdi-x/rkt.git","ssh_url":"git@github.com:intelsdi-x/rkt.git","clone_url":"https://github.com/intelsdi-x/rkt.git","svn_url":"https://github.com/intelsdi-x/rkt","homepage":"","size":23087,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":1,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"1029815823da79bb32306fce25560ba66b1d6fbc","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":26509369,"name":"rkt","full_name":"coreos/rkt","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/rkt","description":"rkt is a container engine for Linux designed to be composable, secure, and built on standards","fork":false,"url":"https://api.github.com/repos/coreos/rkt","forks_url":"https://api.github.com/repos/coreos/rkt/forks","keys_url":"https://api.github.com/repos/coreos/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/rkt/teams","hooks_url":"https://api.github.com/repos/coreos/rkt/hooks","issue_events_url":"https://api.github.com/repos/coreos/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/rkt/events","assignees_url":"https://api.github.com/repos/coreos/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/rkt/tags","blobs_url":"https://api.github.com/repos/coreos/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/rkt/languages","stargazers_url":"https://api.github.com/repos/coreos/rkt/stargazers","contributors_url":"https://api.github.com/repos/coreos/rkt/contributors","subscribers_url":"https://api.github.com/repos/coreos/rkt/subscribers","subscription_url":"https://api.github.com/repos/coreos/rkt/subscription","commits_url":"https://api.github.com/repos/coreos/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/rkt/merges","archive_url":"https://api.github.com/repos/coreos/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/rkt/downloads","issues_url":"https://api.github.com/repos/coreos/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/rkt/labels{/name}","releases_url":"https://api.github.com/repos/coreos/rkt/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/rkt/deployments","created_at":"2014-11-11T23:13:18Z","updated_at":"2016-08-30T09:07:10Z","pushed_at":"2016-08-30T10:11:44Z","git_url":"git://github.com/coreos/rkt.git","ssh_url":"git@github.com:coreos/rkt.git","clone_url":"https://github.com/coreos/rkt.git","svn_url":"https://github.com/coreos/rkt","homepage":"","size":32684,"stargazers_count":5872,"watchers_count":5872,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":575,"mirror_url":null,"open_issues_count":389,"forks":575,"open_issues":389,"watchers":5872,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/2954"},"html":{"href":"https://github.com/coreos/rkt/pull/2954"},"issue":{"href":"https://api.github.com/repos/coreos/rkt/issues/2954"},"comments":{"href":"https://api.github.com/repos/coreos/rkt/issues/2954/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/rkt/pulls/2954/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/rkt/pulls/2954/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/rkt/statuses/3b3840eea57742cda49f26b3bb1251cd0136cb3d"}}}}
{"actor":{"display_login":"pskrzyns"}}