{"action":"closed","number":4142,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongoid/pulls/4142","id":42151196,"html_url":"https://github.com/mongodb/mongoid/pull/4142","diff_url":"https://github.com/mongodb/mongoid/pull/4142.diff","patch_url":"https://github.com/mongodb/mongoid/pull/4142.patch","issue_url":"https://api.github.com/repos/mongodb/mongoid/issues/4142","number":4142,"state":"closed","locked":false,"title":"rake tasks should use Mongoid.logger","user":{"login":"stevecrozz","id":133328,"avatar_url":"https://avatars.githubusercontent.com/u/133328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecrozz","html_url":"https://github.com/stevecrozz","followers_url":"https://api.github.com/users/stevecrozz/followers","following_url":"https://api.github.com/users/stevecrozz/following{/other_user}","gists_url":"https://api.github.com/users/stevecrozz/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecrozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecrozz/subscriptions","organizations_url":"https://api.github.com/users/stevecrozz/orgs","repos_url":"https://api.github.com/users/stevecrozz/repos","events_url":"https://api.github.com/users/stevecrozz/events{/privacy}","received_events_url":"https://api.github.com/users/stevecrozz/received_events","type":"User","site_admin":false},"body":"Just a suggestion. It seems like it would be nice to enable the same logger configuration in rake tasks as are allowed during regular mongoid operation.","created_at":"2015-08-11T16:48:29Z","updated_at":"2015-08-12T08:10:04Z","closed_at":"2015-08-12T08:10:04Z","merged_at":"2015-08-12T08:10:04Z","merge_commit_sha":"57fa67ab42ed09a880640beed0b9db92ffd3bc99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongoid/pulls/4142/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongoid/pulls/4142/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongoid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongoid/issues/4142/comments","statuses_url":"https://api.github.com/repos/mongodb/mongoid/statuses/f85f2949699125e86e3ebdf60d3488623c5a11ef","head":{"label":"stevecrozz:rake_task_uses_mongoid_logger","ref":"rake_task_uses_mongoid_logger","sha":"f85f2949699125e86e3ebdf60d3488623c5a11ef","user":{"login":"stevecrozz","id":133328,"avatar_url":"https://avatars.githubusercontent.com/u/133328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecrozz","html_url":"https://github.com/stevecrozz","followers_url":"https://api.github.com/users/stevecrozz/followers","following_url":"https://api.github.com/users/stevecrozz/following{/other_user}","gists_url":"https://api.github.com/users/stevecrozz/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecrozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecrozz/subscriptions","organizations_url":"https://api.github.com/users/stevecrozz/orgs","repos_url":"https://api.github.com/users/stevecrozz/repos","events_url":"https://api.github.com/users/stevecrozz/events{/privacy}","received_events_url":"https://api.github.com/users/stevecrozz/received_events","type":"User","site_admin":false},"repo":{"id":40553541,"name":"mongoid","full_name":"stevecrozz/mongoid","owner":{"login":"stevecrozz","id":133328,"avatar_url":"https://avatars.githubusercontent.com/u/133328?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecrozz","html_url":"https://github.com/stevecrozz","followers_url":"https://api.github.com/users/stevecrozz/followers","following_url":"https://api.github.com/users/stevecrozz/following{/other_user}","gists_url":"https://api.github.com/users/stevecrozz/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecrozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecrozz/subscriptions","organizations_url":"https://api.github.com/users/stevecrozz/orgs","repos_url":"https://api.github.com/users/stevecrozz/repos","events_url":"https://api.github.com/users/stevecrozz/events{/privacy}","received_events_url":"https://api.github.com/users/stevecrozz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevecrozz/mongoid","description":"Ruby ODM framework for MongoDB","fork":true,"url":"https://api.github.com/repos/stevecrozz/mongoid","forks_url":"https://api.github.com/repos/stevecrozz/mongoid/forks","keys_url":"https://api.github.com/repos/stevecrozz/mongoid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevecrozz/mongoid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevecrozz/mongoid/teams","hooks_url":"https://api.github.com/repos/stevecrozz/mongoid/hooks","issue_events_url":"https://api.github.com/repos/stevecrozz/mongoid/issues/events{/number}","events_url":"https://api.github.com/repos/stevecrozz/mongoid/events","assignees_url":"https://api.github.com/repos/stevecrozz/mongoid/assignees{/user}","branches_url":"https://api.github.com/repos/stevecrozz/mongoid/branches{/branch}","tags_url":"https://api.github.com/repos/stevecrozz/mongoid/tags","blobs_url":"https://api.github.com/repos/stevecrozz/mongoid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevecrozz/mongoid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevecrozz/mongoid/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevecrozz/mongoid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevecrozz/mongoid/statuses/{sha}","languages_url":"https://api.github.com/repos/stevecrozz/mongoid/languages","stargazers_url":"https://api.github.com/repos/stevecrozz/mongoid/stargazers","contributors_url":"https://api.github.com/repos/stevecrozz/mongoid/contributors","subscribers_url":"https://api.github.com/repos/stevecrozz/mongoid/subscribers","subscription_url":"https://api.github.com/repos/stevecrozz/mongoid/subscription","commits_url":"https://api.github.com/repos/stevecrozz/mongoid/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevecrozz/mongoid/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevecrozz/mongoid/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevecrozz/mongoid/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevecrozz/mongoid/contents/{+path}","compare_url":"https://api.github.com/repos/stevecrozz/mongoid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevecrozz/mongoid/merges","archive_url":"https://api.github.com/repos/stevecrozz/mongoid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevecrozz/mongoid/downloads","issues_url":"https://api.github.com/repos/stevecrozz/mongoid/issues{/number}","pulls_url":"https://api.github.com/repos/stevecrozz/mongoid/pulls{/number}","milestones_url":"https://api.github.com/repos/stevecrozz/mongoid/milestones{/number}","notifications_url":"https://api.github.com/repos/stevecrozz/mongoid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevecrozz/mongoid/labels{/name}","releases_url":"https://api.github.com/repos/stevecrozz/mongoid/releases{/id}","created_at":"2015-08-11T16:45:20Z","updated_at":"2015-08-11T16:45:26Z","pushed_at":"2015-08-11T16:48:16Z","git_url":"git://github.com/stevecrozz/mongoid.git","ssh_url":"git@github.com:stevecrozz/mongoid.git","clone_url":"https://github.com/stevecrozz/mongoid.git","svn_url":"https://github.com/stevecrozz/mongoid","homepage":"http://mongoid.org","size":28606,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mongodb:master","ref":"master","sha":"230876157420ba850849603ad0d16aa5ec3a693c","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":309009,"name":"mongoid","full_name":"mongodb/mongoid","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongoid","description":"Ruby ODM framework for MongoDB","fork":false,"url":"https://api.github.com/repos/mongodb/mongoid","forks_url":"https://api.github.com/repos/mongodb/mongoid/forks","keys_url":"https://api.github.com/repos/mongodb/mongoid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongoid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongoid/teams","hooks_url":"https://api.github.com/repos/mongodb/mongoid/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongoid/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongoid/events","assignees_url":"https://api.github.com/repos/mongodb/mongoid/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongoid/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongoid/tags","blobs_url":"https://api.github.com/repos/mongodb/mongoid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongoid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongoid/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongoid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongoid/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongoid/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongoid/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongoid/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongoid/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongoid/subscription","commits_url":"https://api.github.com/repos/mongodb/mongoid/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongoid/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongoid/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongoid/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongoid/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongoid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongoid/merges","archive_url":"https://api.github.com/repos/mongodb/mongoid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongoid/downloads","issues_url":"https://api.github.com/repos/mongodb/mongoid/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongoid/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongoid/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongoid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongoid/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongoid/releases{/id}","created_at":"2009-09-16T16:24:56Z","updated_at":"2015-08-12T05:08:19Z","pushed_at":"2015-08-12T08:10:04Z","git_url":"git://github.com/mongodb/mongoid.git","ssh_url":"git@github.com:mongodb/mongoid.git","clone_url":"https://github.com/mongodb/mongoid.git","svn_url":"https://github.com/mongodb/mongoid","homepage":"http://mongoid.org","size":28606,"stargazers_count":3251,"watchers_count":3251,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1118,"mirror_url":null,"open_issues_count":299,"forks":1118,"open_issues":299,"watchers":3251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongoid/pulls/4142"},"html":{"href":"https://github.com/mongodb/mongoid/pull/4142"},"issue":{"href":"https://api.github.com/repos/mongodb/mongoid/issues/4142"},"comments":{"href":"https://api.github.com/repos/mongodb/mongoid/issues/4142/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongoid/pulls/4142/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongoid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongoid/pulls/4142/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongoid/statuses/f85f2949699125e86e3ebdf60d3488623c5a11ef"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"durran","id":9030,"avatar_url":"https://avatars.githubusercontent.com/u/9030?v=3","gravatar_id":"","url":"https://api.github.com/users/durran","html_url":"https://github.com/durran","followers_url":"https://api.github.com/users/durran/followers","following_url":"https://api.github.com/users/durran/following{/other_user}","gists_url":"https://api.github.com/users/durran/gists{/gist_id}","starred_url":"https://api.github.com/users/durran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durran/subscriptions","organizations_url":"https://api.github.com/users/durran/orgs","repos_url":"https://api.github.com/users/durran/repos","events_url":"https://api.github.com/users/durran/events{/privacy}","received_events_url":"https://api.github.com/users/durran/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}