{"action":"created","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2601","repository_url":"https://api.github.com/repos/Graylog2/graylog2-server","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2601/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2601/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2601/events","html_url":"https://github.com/Graylog2/graylog2-server/pull/2601","id":169138160,"number":2601,"title":"Print - instead of null when client did not provide user agent header","user":{"login":"mikkolehtisalo","id":7376695,"avatar_url":"https://avatars.githubusercontent.com/u/7376695?v=3","gravatar_id":"","url":"https://api.github.com/users/mikkolehtisalo","html_url":"https://github.com/mikkolehtisalo","followers_url":"https://api.github.com/users/mikkolehtisalo/followers","following_url":"https://api.github.com/users/mikkolehtisalo/following{/other_user}","gists_url":"https://api.github.com/users/mikkolehtisalo/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkolehtisalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkolehtisalo/subscriptions","organizations_url":"https://api.github.com/users/mikkolehtisalo/orgs","repos_url":"https://api.github.com/users/mikkolehtisalo/repos","events_url":"https://api.github.com/users/mikkolehtisalo/events{/privacy}","received_events_url":"https://api.github.com/users/mikkolehtisalo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T13:58:47Z","updated_at":"2016-08-03T14:41:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/pulls/2601","html_url":"https://github.com/Graylog2/graylog2-server/pull/2601","diff_url":"https://github.com/Graylog2/graylog2-server/pull/2601.diff","patch_url":"https://github.com/Graylog2/graylog2-server/pull/2601.patch"},"body":"HTTP clients not providing user agent header cause \"null\" to be printed in logs. Found this out when a braindead load balancer product started hammering /system/lbstatus... Just a cosmetic fix.\r\n\r\nBy the way, responseContext.getLength() can never work at RestAccessLogFilter, because Jersey has not produced the body yet - thus there is no Content-Length available. I think counting responseContext.getEntityStream() might work, that seemed like heavy to me."},"comment":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/comments/237256714","html_url":"https://github.com/Graylog2/graylog2-server/pull/2601#issuecomment-237256714","issue_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/2601","id":237256714,"user":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T14:41:45Z","updated_at":"2016-08-03T14:41:45Z","body":"LGTM. 👍 \r\n\r\nThanks!"}}
{"actor":{"display_login":"joschi"}}