{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13010","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13010/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13010/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13010/events","html_url":"https://github.com/kubernetes/kubernetes/pull/13010","id":102278601,"number":13010,"title":"Add LogDir","user":{"login":"wulonghui","id":5194128,"avatar_url":"https://avatars.githubusercontent.com/u/5194128?v=3","gravatar_id":"","url":"https://api.github.com/users/wulonghui","html_url":"https://github.com/wulonghui","followers_url":"https://api.github.com/users/wulonghui/followers","following_url":"https://api.github.com/users/wulonghui/following{/other_user}","gists_url":"https://api.github.com/users/wulonghui/gists{/gist_id}","starred_url":"https://api.github.com/users/wulonghui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulonghui/subscriptions","organizations_url":"https://api.github.com/users/wulonghui/orgs","repos_url":"https://api.github.com/users/wulonghui/repos","events_url":"https://api.github.com/users/wulonghui/events{/privacy}","received_events_url":"https://api.github.com/users/wulonghui/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/api","name":"area/api","color":"e1ed21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/kubelet","name":"component/kubelet","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900"}],"state":"open","locked":false,"assignee":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars.githubusercontent.com/u/5751682?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"milestone":null,"comments":52,"created_at":"2015-08-21T02:07:37Z","updated_at":"2015-09-08T22:58:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13010","html_url":"https://github.com/kubernetes/kubernetes/pull/13010","diff_url":"https://github.com/kubernetes/kubernetes/pull/13010.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/13010.patch"},"body":"Some applications will write log to files, since the supported currently is not very appropriate(refer to [#12567](https://github.com/kubernetes/kubernetes/issues/12567)), so need a `LogDir` to  preserve and manage log files."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/138726225","html_url":"https://github.com/kubernetes/kubernetes/pull/13010#issuecomment-138726225","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13010","id":138726225,"user":{"login":"vishh","id":7063592,"avatar_url":"https://avatars.githubusercontent.com/u/7063592?v=3","gravatar_id":"","url":"https://api.github.com/users/vishh","html_url":"https://github.com/vishh","followers_url":"https://api.github.com/users/vishh/followers","following_url":"https://api.github.com/users/vishh/following{/other_user}","gists_url":"https://api.github.com/users/vishh/gists{/gist_id}","starred_url":"https://api.github.com/users/vishh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishh/subscriptions","organizations_url":"https://api.github.com/users/vishh/orgs","repos_url":"https://api.github.com/users/vishh/repos","events_url":"https://api.github.com/users/vishh/events{/privacy}","received_events_url":"https://api.github.com/users/vishh/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T22:58:28Z","updated_at":"2015-09-08T22:58:28Z","body":"Here are some more things to be considered as part of this proposal:\r\n\r\n* Understanding logging agents other than fluentd - [Loggy](https://www.loggly.com/), [splunk](http://www.splunk.com/en_us/solutions/solution-areas/log-management.html), [sumo logic](https://www.sumologic.com/)\r\n\r\n* Performing log-rotation based on user specified storage limits. Irrespective of how the logs are stored or parsed, logs can be rotated for applications to control storage utilization.\r\n\r\nIn general though, can log management be made pluggable? As long as our APIs are expressive enough (provide log location, type of logs, etc), we can build plugins (fluentd), that interpret our APIs and perform the necessary plumbing. Do we have to build all this functionality into the kubelet?\r\n\r\nAs a side note, expressing application metadata is required for other functionalities as well #572."}}