{"action":"closed","number":220,"pull_request":{"url":"https://api.github.com/repos/elastic-rs/elastic/pulls/220","id":133116487,"html_url":"https://github.com/elastic-rs/elastic/pull/220","diff_url":"https://github.com/elastic-rs/elastic/pull/220.diff","patch_url":"https://github.com/elastic-rs/elastic/pull/220.patch","issue_url":"https://api.github.com/repos/elastic-rs/elastic/issues/220","number":220,"state":"closed","locked":false,"title":"Add basic request logging","user":{"login":"KodrAus","id":6721458,"avatar_url":"https://avatars0.githubusercontent.com/u/6721458?v=4","gravatar_id":"","url":"https://api.github.com/users/KodrAus","html_url":"https://github.com/KodrAus","followers_url":"https://api.github.com/users/KodrAus/followers","following_url":"https://api.github.com/users/KodrAus/following{/other_user}","gists_url":"https://api.github.com/users/KodrAus/gists{/gist_id}","starred_url":"https://api.github.com/users/KodrAus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KodrAus/subscriptions","organizations_url":"https://api.github.com/users/KodrAus/orgs","repos_url":"https://api.github.com/users/KodrAus/repos","events_url":"https://api.github.com/users/KodrAus/events{/privacy}","received_events_url":"https://api.github.com/users/KodrAus/received_events","type":"User","site_admin":false},"body":"Closes #219 \r\n\r\nAdds some really basic logging to requests and hooks up `env_logger` in each example. Set:\r\n\r\n```\r\nexport RUST_LOG=debug\r\n```\r\n\r\nTo see logs for Elasticsearch requests.","created_at":"2017-07-30T05:03:29Z","updated_at":"2017-07-30T11:15:39Z","closed_at":"2017-07-30T11:15:39Z","merged_at":"2017-07-30T11:15:39Z","merge_commit_sha":"da2e5b8b1d85ac6c19d5b359530bbe24d147a174","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic-rs/elastic/pulls/220/commits","review_comments_url":"https://api.github.com/repos/elastic-rs/elastic/pulls/220/comments","review_comment_url":"https://api.github.com/repos/elastic-rs/elastic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic-rs/elastic/issues/220/comments","statuses_url":"https://api.github.com/repos/elastic-rs/elastic/statuses/4cf5fbcb3218b1d3baf78a8ac7a4cef97df5b581","head":{"label":"elastic-rs:chore/logging","ref":"chore/logging","sha":"4cf5fbcb3218b1d3baf78a8ac7a4cef97df5b581","user":{"login":"elastic-rs","id":22070715,"avatar_url":"https://avatars0.githubusercontent.com/u/22070715?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic-rs","html_url":"https://github.com/elastic-rs","followers_url":"https://api.github.com/users/elastic-rs/followers","following_url":"https://api.github.com/users/elastic-rs/following{/other_user}","gists_url":"https://api.github.com/users/elastic-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-rs/subscriptions","organizations_url":"https://api.github.com/users/elastic-rs/orgs","repos_url":"https://api.github.com/users/elastic-rs/repos","events_url":"https://api.github.com/users/elastic-rs/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-rs/received_events","type":"Organization","site_admin":false},"repo":{"id":47872680,"name":"elastic","full_name":"elastic-rs/elastic","owner":{"login":"elastic-rs","id":22070715,"avatar_url":"https://avatars0.githubusercontent.com/u/22070715?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic-rs","html_url":"https://github.com/elastic-rs","followers_url":"https://api.github.com/users/elastic-rs/followers","following_url":"https://api.github.com/users/elastic-rs/following{/other_user}","gists_url":"https://api.github.com/users/elastic-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-rs/subscriptions","organizations_url":"https://api.github.com/users/elastic-rs/orgs","repos_url":"https://api.github.com/users/elastic-rs/repos","events_url":"https://api.github.com/users/elastic-rs/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-rs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic-rs/elastic","description":"An Elasticsearch REST API client for Rust","fork":false,"url":"https://api.github.com/repos/elastic-rs/elastic","forks_url":"https://api.github.com/repos/elastic-rs/elastic/forks","keys_url":"https://api.github.com/repos/elastic-rs/elastic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic-rs/elastic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic-rs/elastic/teams","hooks_url":"https://api.github.com/repos/elastic-rs/elastic/hooks","issue_events_url":"https://api.github.com/repos/elastic-rs/elastic/issues/events{/number}","events_url":"https://api.github.com/repos/elastic-rs/elastic/events","assignees_url":"https://api.github.com/repos/elastic-rs/elastic/assignees{/user}","branches_url":"https://api.github.com/repos/elastic-rs/elastic/branches{/branch}","tags_url":"https://api.github.com/repos/elastic-rs/elastic/tags","blobs_url":"https://api.github.com/repos/elastic-rs/elastic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic-rs/elastic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic-rs/elastic/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic-rs/elastic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic-rs/elastic/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic-rs/elastic/languages","stargazers_url":"https://api.github.com/repos/elastic-rs/elastic/stargazers","contributors_url":"https://api.github.com/repos/elastic-rs/elastic/contributors","subscribers_url":"https://api.github.com/repos/elastic-rs/elastic/subscribers","subscription_url":"https://api.github.com/repos/elastic-rs/elastic/subscription","commits_url":"https://api.github.com/repos/elastic-rs/elastic/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic-rs/elastic/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic-rs/elastic/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic-rs/elastic/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic-rs/elastic/contents/{+path}","compare_url":"https://api.github.com/repos/elastic-rs/elastic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic-rs/elastic/merges","archive_url":"https://api.github.com/repos/elastic-rs/elastic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic-rs/elastic/downloads","issues_url":"https://api.github.com/repos/elastic-rs/elastic/issues{/number}","pulls_url":"https://api.github.com/repos/elastic-rs/elastic/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic-rs/elastic/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic-rs/elastic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic-rs/elastic/labels{/name}","releases_url":"https://api.github.com/repos/elastic-rs/elastic/releases{/id}","deployments_url":"https://api.github.com/repos/elastic-rs/elastic/deployments","created_at":"2015-12-12T09:45:23Z","updated_at":"2017-07-24T15:37:37Z","pushed_at":"2017-07-30T11:15:39Z","git_url":"git://github.com/elastic-rs/elastic.git","ssh_url":"git@github.com:elastic-rs/elastic.git","clone_url":"https://github.com/elastic-rs/elastic.git","svn_url":"https://github.com/elastic-rs/elastic","homepage":"","size":22777,"stargazers_count":39,"watchers_count":39,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":17,"forks":4,"open_issues":17,"watchers":39,"default_branch":"master"}},"base":{"label":"elastic-rs:master","ref":"master","sha":"611bd8d6e33e7473f37c5f5eed3fb809bb3cb250","user":{"login":"elastic-rs","id":22070715,"avatar_url":"https://avatars0.githubusercontent.com/u/22070715?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic-rs","html_url":"https://github.com/elastic-rs","followers_url":"https://api.github.com/users/elastic-rs/followers","following_url":"https://api.github.com/users/elastic-rs/following{/other_user}","gists_url":"https://api.github.com/users/elastic-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-rs/subscriptions","organizations_url":"https://api.github.com/users/elastic-rs/orgs","repos_url":"https://api.github.com/users/elastic-rs/repos","events_url":"https://api.github.com/users/elastic-rs/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-rs/received_events","type":"Organization","site_admin":false},"repo":{"id":47872680,"name":"elastic","full_name":"elastic-rs/elastic","owner":{"login":"elastic-rs","id":22070715,"avatar_url":"https://avatars0.githubusercontent.com/u/22070715?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic-rs","html_url":"https://github.com/elastic-rs","followers_url":"https://api.github.com/users/elastic-rs/followers","following_url":"https://api.github.com/users/elastic-rs/following{/other_user}","gists_url":"https://api.github.com/users/elastic-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-rs/subscriptions","organizations_url":"https://api.github.com/users/elastic-rs/orgs","repos_url":"https://api.github.com/users/elastic-rs/repos","events_url":"https://api.github.com/users/elastic-rs/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-rs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic-rs/elastic","description":"An Elasticsearch REST API client for Rust","fork":false,"url":"https://api.github.com/repos/elastic-rs/elastic","forks_url":"https://api.github.com/repos/elastic-rs/elastic/forks","keys_url":"https://api.github.com/repos/elastic-rs/elastic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic-rs/elastic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic-rs/elastic/teams","hooks_url":"https://api.github.com/repos/elastic-rs/elastic/hooks","issue_events_url":"https://api.github.com/repos/elastic-rs/elastic/issues/events{/number}","events_url":"https://api.github.com/repos/elastic-rs/elastic/events","assignees_url":"https://api.github.com/repos/elastic-rs/elastic/assignees{/user}","branches_url":"https://api.github.com/repos/elastic-rs/elastic/branches{/branch}","tags_url":"https://api.github.com/repos/elastic-rs/elastic/tags","blobs_url":"https://api.github.com/repos/elastic-rs/elastic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic-rs/elastic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic-rs/elastic/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic-rs/elastic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic-rs/elastic/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic-rs/elastic/languages","stargazers_url":"https://api.github.com/repos/elastic-rs/elastic/stargazers","contributors_url":"https://api.github.com/repos/elastic-rs/elastic/contributors","subscribers_url":"https://api.github.com/repos/elastic-rs/elastic/subscribers","subscription_url":"https://api.github.com/repos/elastic-rs/elastic/subscription","commits_url":"https://api.github.com/repos/elastic-rs/elastic/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic-rs/elastic/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic-rs/elastic/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic-rs/elastic/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic-rs/elastic/contents/{+path}","compare_url":"https://api.github.com/repos/elastic-rs/elastic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic-rs/elastic/merges","archive_url":"https://api.github.com/repos/elastic-rs/elastic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic-rs/elastic/downloads","issues_url":"https://api.github.com/repos/elastic-rs/elastic/issues{/number}","pulls_url":"https://api.github.com/repos/elastic-rs/elastic/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic-rs/elastic/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic-rs/elastic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic-rs/elastic/labels{/name}","releases_url":"https://api.github.com/repos/elastic-rs/elastic/releases{/id}","deployments_url":"https://api.github.com/repos/elastic-rs/elastic/deployments","created_at":"2015-12-12T09:45:23Z","updated_at":"2017-07-24T15:37:37Z","pushed_at":"2017-07-30T11:15:39Z","git_url":"git://github.com/elastic-rs/elastic.git","ssh_url":"git@github.com:elastic-rs/elastic.git","clone_url":"https://github.com/elastic-rs/elastic.git","svn_url":"https://github.com/elastic-rs/elastic","homepage":"","size":22777,"stargazers_count":39,"watchers_count":39,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":17,"forks":4,"open_issues":17,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic-rs/elastic/pulls/220"},"html":{"href":"https://github.com/elastic-rs/elastic/pull/220"},"issue":{"href":"https://api.github.com/repos/elastic-rs/elastic/issues/220"},"comments":{"href":"https://api.github.com/repos/elastic-rs/elastic/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic-rs/elastic/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic-rs/elastic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic-rs/elastic/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/elastic-rs/elastic/statuses/4cf5fbcb3218b1d3baf78a8ac7a4cef97df5b581"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"KodrAus","id":6721458,"avatar_url":"https://avatars0.githubusercontent.com/u/6721458?v=4","gravatar_id":"","url":"https://api.github.com/users/KodrAus","html_url":"https://github.com/KodrAus","followers_url":"https://api.github.com/users/KodrAus/followers","following_url":"https://api.github.com/users/KodrAus/following{/other_user}","gists_url":"https://api.github.com/users/KodrAus/gists{/gist_id}","starred_url":"https://api.github.com/users/KodrAus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KodrAus/subscriptions","organizations_url":"https://api.github.com/users/KodrAus/orgs","repos_url":"https://api.github.com/users/KodrAus/repos","events_url":"https://api.github.com/users/KodrAus/events{/privacy}","received_events_url":"https://api.github.com/users/KodrAus/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":49,"deletions":4,"changed_files":13}}
{"actor":{"display_login":"KodrAus"}}