{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/adleida/adx-nodejs/pulls/12","id":38095713,"html_url":"https://github.com/adleida/adx-nodejs/pull/12","diff_url":"https://github.com/adleida/adx-nodejs/pull/12.diff","patch_url":"https://github.com/adleida/adx-nodejs/pull/12.patch","issue_url":"https://api.github.com/repos/adleida/adx-nodejs/issues/12","number":12,"state":"open","locked":false,"title":"add mongolog","user":{"login":"Tate-ad","id":12826013,"avatar_url":"https://avatars.githubusercontent.com/u/12826013?v=3","gravatar_id":"","url":"https://api.github.com/users/Tate-ad","html_url":"https://github.com/Tate-ad","followers_url":"https://api.github.com/users/Tate-ad/followers","following_url":"https://api.github.com/users/Tate-ad/following{/other_user}","gists_url":"https://api.github.com/users/Tate-ad/gists{/gist_id}","starred_url":"https://api.github.com/users/Tate-ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tate-ad/subscriptions","organizations_url":"https://api.github.com/users/Tate-ad/orgs","repos_url":"https://api.github.com/users/Tate-ad/repos","events_url":"https://api.github.com/users/Tate-ad/events{/privacy}","received_events_url":"https://api.github.com/users/Tate-ad/received_events","type":"User","site_admin":false},"body":":whale: \r\n### mongolog mongo日志\r\n\r\n将request 和response 写入mongo中\r\n\r\nmongolog的配置至少要包括:\r\n- db: MongoDB 的database url; ex: `mongodb://127.0.0.1:27017/test`\r\n- collection: 集合名称; ex: `adx`\r\n- level: 日志等级; 默认为info, 高于默认值的级别可以写入, 低于默认级别的会被丢弃;","created_at":"2015-06-19T10:39:17Z","updated_at":"2015-06-19T10:39:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adleida/adx-nodejs/pulls/12/commits","review_comments_url":"https://api.github.com/repos/adleida/adx-nodejs/pulls/12/comments","review_comment_url":"https://api.github.com/repos/adleida/adx-nodejs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adleida/adx-nodejs/issues/12/comments","statuses_url":"https://api.github.com/repos/adleida/adx-nodejs/statuses/3d0a4b7de27ce7c2cc1dda357c05d897a594cfff","head":{"label":"Tate-ad:master","ref":"master","sha":"3d0a4b7de27ce7c2cc1dda357c05d897a594cfff","user":{"login":"Tate-ad","id":12826013,"avatar_url":"https://avatars.githubusercontent.com/u/12826013?v=3","gravatar_id":"","url":"https://api.github.com/users/Tate-ad","html_url":"https://github.com/Tate-ad","followers_url":"https://api.github.com/users/Tate-ad/followers","following_url":"https://api.github.com/users/Tate-ad/following{/other_user}","gists_url":"https://api.github.com/users/Tate-ad/gists{/gist_id}","starred_url":"https://api.github.com/users/Tate-ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tate-ad/subscriptions","organizations_url":"https://api.github.com/users/Tate-ad/orgs","repos_url":"https://api.github.com/users/Tate-ad/repos","events_url":"https://api.github.com/users/Tate-ad/events{/privacy}","received_events_url":"https://api.github.com/users/Tate-ad/received_events","type":"User","site_admin":false},"repo":{"id":37636084,"name":"adx-nodejs","full_name":"Tate-ad/adx-nodejs","owner":{"login":"Tate-ad","id":12826013,"avatar_url":"https://avatars.githubusercontent.com/u/12826013?v=3","gravatar_id":"","url":"https://api.github.com/users/Tate-ad","html_url":"https://github.com/Tate-ad","followers_url":"https://api.github.com/users/Tate-ad/followers","following_url":"https://api.github.com/users/Tate-ad/following{/other_user}","gists_url":"https://api.github.com/users/Tate-ad/gists{/gist_id}","starred_url":"https://api.github.com/users/Tate-ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tate-ad/subscriptions","organizations_url":"https://api.github.com/users/Tate-ad/orgs","repos_url":"https://api.github.com/users/Tate-ad/repos","events_url":"https://api.github.com/users/Tate-ad/events{/privacy}","received_events_url":"https://api.github.com/users/Tate-ad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tate-ad/adx-nodejs","description":"adexchange project written by nodejs","fork":true,"url":"https://api.github.com/repos/Tate-ad/adx-nodejs","forks_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/forks","keys_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/teams","hooks_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/hooks","issue_events_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/events","assignees_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/tags","blobs_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/languages","stargazers_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/stargazers","contributors_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/contributors","subscribers_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/subscribers","subscription_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/subscription","commits_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/merges","archive_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/downloads","issues_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/Tate-ad/adx-nodejs/releases{/id}","created_at":"2015-06-18T03:54:49Z","updated_at":"2015-06-18T03:54:50Z","pushed_at":"2015-06-19T10:36:09Z","git_url":"git://github.com/Tate-ad/adx-nodejs.git","ssh_url":"git@github.com:Tate-ad/adx-nodejs.git","clone_url":"https://github.com/Tate-ad/adx-nodejs.git","svn_url":"https://github.com/Tate-ad/adx-nodejs","homepage":null,"size":260,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"adleida:master","ref":"master","sha":"dc9203550cc63a6fd21274badf64fa769425d63e","user":{"login":"adleida","id":12824965,"avatar_url":"https://avatars.githubusercontent.com/u/12824965?v=3","gravatar_id":"","url":"https://api.github.com/users/adleida","html_url":"https://github.com/adleida","followers_url":"https://api.github.com/users/adleida/followers","following_url":"https://api.github.com/users/adleida/following{/other_user}","gists_url":"https://api.github.com/users/adleida/gists{/gist_id}","starred_url":"https://api.github.com/users/adleida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adleida/subscriptions","organizations_url":"https://api.github.com/users/adleida/orgs","repos_url":"https://api.github.com/users/adleida/repos","events_url":"https://api.github.com/users/adleida/events{/privacy}","received_events_url":"https://api.github.com/users/adleida/received_events","type":"Organization","site_admin":false},"repo":{"id":37179313,"name":"adx-nodejs","full_name":"adleida/adx-nodejs","owner":{"login":"adleida","id":12824965,"avatar_url":"https://avatars.githubusercontent.com/u/12824965?v=3","gravatar_id":"","url":"https://api.github.com/users/adleida","html_url":"https://github.com/adleida","followers_url":"https://api.github.com/users/adleida/followers","following_url":"https://api.github.com/users/adleida/following{/other_user}","gists_url":"https://api.github.com/users/adleida/gists{/gist_id}","starred_url":"https://api.github.com/users/adleida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adleida/subscriptions","organizations_url":"https://api.github.com/users/adleida/orgs","repos_url":"https://api.github.com/users/adleida/repos","events_url":"https://api.github.com/users/adleida/events{/privacy}","received_events_url":"https://api.github.com/users/adleida/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adleida/adx-nodejs","description":"adexchange project written by nodejs","fork":false,"url":"https://api.github.com/repos/adleida/adx-nodejs","forks_url":"https://api.github.com/repos/adleida/adx-nodejs/forks","keys_url":"https://api.github.com/repos/adleida/adx-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adleida/adx-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adleida/adx-nodejs/teams","hooks_url":"https://api.github.com/repos/adleida/adx-nodejs/hooks","issue_events_url":"https://api.github.com/repos/adleida/adx-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/adleida/adx-nodejs/events","assignees_url":"https://api.github.com/repos/adleida/adx-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/adleida/adx-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/adleida/adx-nodejs/tags","blobs_url":"https://api.github.com/repos/adleida/adx-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adleida/adx-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adleida/adx-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/adleida/adx-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adleida/adx-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/adleida/adx-nodejs/languages","stargazers_url":"https://api.github.com/repos/adleida/adx-nodejs/stargazers","contributors_url":"https://api.github.com/repos/adleida/adx-nodejs/contributors","subscribers_url":"https://api.github.com/repos/adleida/adx-nodejs/subscribers","subscription_url":"https://api.github.com/repos/adleida/adx-nodejs/subscription","commits_url":"https://api.github.com/repos/adleida/adx-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/adleida/adx-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/adleida/adx-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/adleida/adx-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/adleida/adx-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/adleida/adx-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adleida/adx-nodejs/merges","archive_url":"https://api.github.com/repos/adleida/adx-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adleida/adx-nodejs/downloads","issues_url":"https://api.github.com/repos/adleida/adx-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/adleida/adx-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/adleida/adx-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/adleida/adx-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adleida/adx-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/adleida/adx-nodejs/releases{/id}","created_at":"2015-06-10T06:22:31Z","updated_at":"2015-06-10T06:29:14Z","pushed_at":"2015-06-18T11:08:05Z","git_url":"git://github.com/adleida/adx-nodejs.git","ssh_url":"git@github.com:adleida/adx-nodejs.git","clone_url":"https://github.com/adleida/adx-nodejs.git","svn_url":"https://github.com/adleida/adx-nodejs","homepage":null,"size":260,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adleida/adx-nodejs/pulls/12"},"html":{"href":"https://github.com/adleida/adx-nodejs/pull/12"},"issue":{"href":"https://api.github.com/repos/adleida/adx-nodejs/issues/12"},"comments":{"href":"https://api.github.com/repos/adleida/adx-nodejs/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/adleida/adx-nodejs/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/adleida/adx-nodejs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adleida/adx-nodejs/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/adleida/adx-nodejs/statuses/3d0a4b7de27ce7c2cc1dda357c05d897a594cfff"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":1,"changed_files":3}}