{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/26887","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26887/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26887/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26887/events","html_url":"https://github.com/elastic/elasticsearch/pull/26887","id":262935172,"number":26887,"title":"Add additional low-level logging handler","user":{"login":"jasontedor","id":4744941,"avatar_url":"https://avatars3.githubusercontent.com/u/4744941?v=4","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"labels":[{"id":146854632,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Network","name":":Network","color":"009800","default":false},{"id":23174,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/enhancement","name":"enhancement","color":"4a4ea8","default":true},{"id":94283388,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc","default":false},{"id":699136972,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v5.6.3","name":"v5.6.3","color":"dddddd","default":false},{"id":596883419,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v6.0.0","name":"v6.0.0","color":"dddddd","default":false},{"id":654494999,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v6.1.0","name":"v6.1.0","color":"dddddd","default":false},{"id":484855464,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.0.0","name":"v7.0.0","color":"dddddd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-04T21:22:48Z","updated_at":"2017-10-05T11:45:26Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/26887","html_url":"https://github.com/elastic/elasticsearch/pull/26887","diff_url":"https://github.com/elastic/elasticsearch/pull/26887.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/26887.patch"},"body":"We have the trace handler which is useful for recording sent messages but there are times where it would be useful to have more low-level logging about the events occurring on a channel. This commit adds a logging handler that can be enabled by setting a certain log level (org.elasticsearch.transport.netty4.ESLoggingHandler) to trace that provides trace logging on low-level channel events and includes some information about the request/response read/write events on the channel as well.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/334440674","html_url":"https://github.com/elastic/elasticsearch/pull/26887#issuecomment-334440674","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/26887","id":334440674,"user":{"login":"jasontedor","id":4744941,"avatar_url":"https://avatars3.githubusercontent.com/u/4744941?v=4","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"created_at":"2017-10-05T11:45:26Z","updated_at":"2017-10-05T11:45:26Z","author_association":"MEMBER","body":"@bleskes I am not sure how we would do that? The action is only available on the request not the responses. We could track the requests in say in an LRU fashion to get the action for a response but this feels like overkill. There are other events on the channel anyway that are not associated with a request/response exchange. We could filter by channel type (recovery, regular, etc.), but that’s a lot of work to get that information here and I’m not sure I see much benefit to it. "}}
{"actor":{"display_login":"jasontedor"}}