{"action":"closed","number":198,"pull_request":{"url":"https://api.github.com/repos/theotherp/nzbhydra/pulls/198","id":67925857,"html_url":"https://github.com/theotherp/nzbhydra/pull/198","diff_url":"https://github.com/theotherp/nzbhydra/pull/198.diff","patch_url":"https://github.com/theotherp/nzbhydra/pull/198.patch","issue_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/198","number":198,"state":"closed","locked":false,"title":"Clean up daemon output and logging","user":{"login":"nikcub","id":441766,"avatar_url":"https://avatars.githubusercontent.com/u/441766?v=3","gravatar_id":"","url":"https://api.github.com/users/nikcub","html_url":"https://github.com/nikcub","followers_url":"https://api.github.com/users/nikcub/followers","following_url":"https://api.github.com/users/nikcub/following{/other_user}","gists_url":"https://api.github.com/users/nikcub/gists{/gist_id}","starred_url":"https://api.github.com/users/nikcub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikcub/subscriptions","organizations_url":"https://api.github.com/users/nikcub/orgs","repos_url":"https://api.github.com/users/nikcub/repos","events_url":"https://api.github.com/users/nikcub/events{/privacy}","received_events_url":"https://api.github.com/users/nikcub/received_events","type":"User","site_admin":false},"body":"I cleaned up output from the process:\r\n\r\n* no more prints and any stderr get out as early in the process as possible\r\n* two-stage log configuration with custom log object with console attached first and then file logger after config is read\r\n* remove global scope on logger\r\n* command line option to suppress all output\r\n* short command line options","created_at":"2016-04-26T17:28:24Z","updated_at":"2016-04-26T18:23:01Z","closed_at":"2016-04-26T18:23:01Z","merged_at":"2016-04-26T18:23:01Z","merge_commit_sha":"6377bf00daa3f692f60d3a2dbd4c5b81a2ec4293","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theotherp/nzbhydra/pulls/198/commits","review_comments_url":"https://api.github.com/repos/theotherp/nzbhydra/pulls/198/comments","review_comment_url":"https://api.github.com/repos/theotherp/nzbhydra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/198/comments","statuses_url":"https://api.github.com/repos/theotherp/nzbhydra/statuses/b36ef6485425cf762c511313af45fd89e5af3e3b","head":{"label":"nikcub:nikcub_clean_output","ref":"nikcub_clean_output","sha":"b36ef6485425cf762c511313af45fd89e5af3e3b","user":{"login":"nikcub","id":441766,"avatar_url":"https://avatars.githubusercontent.com/u/441766?v=3","gravatar_id":"","url":"https://api.github.com/users/nikcub","html_url":"https://github.com/nikcub","followers_url":"https://api.github.com/users/nikcub/followers","following_url":"https://api.github.com/users/nikcub/following{/other_user}","gists_url":"https://api.github.com/users/nikcub/gists{/gist_id}","starred_url":"https://api.github.com/users/nikcub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikcub/subscriptions","organizations_url":"https://api.github.com/users/nikcub/orgs","repos_url":"https://api.github.com/users/nikcub/repos","events_url":"https://api.github.com/users/nikcub/events{/privacy}","received_events_url":"https://api.github.com/users/nikcub/received_events","type":"User","site_admin":false},"repo":{"id":57112582,"name":"nzbhydra","full_name":"nikcub/nzbhydra","owner":{"login":"nikcub","id":441766,"avatar_url":"https://avatars.githubusercontent.com/u/441766?v=3","gravatar_id":"","url":"https://api.github.com/users/nikcub","html_url":"https://github.com/nikcub","followers_url":"https://api.github.com/users/nikcub/followers","following_url":"https://api.github.com/users/nikcub/following{/other_user}","gists_url":"https://api.github.com/users/nikcub/gists{/gist_id}","starred_url":"https://api.github.com/users/nikcub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikcub/subscriptions","organizations_url":"https://api.github.com/users/nikcub/orgs","repos_url":"https://api.github.com/users/nikcub/repos","events_url":"https://api.github.com/users/nikcub/events{/privacy}","received_events_url":"https://api.github.com/users/nikcub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikcub/nzbhydra","description":"Meta search for NZB indexers","fork":true,"url":"https://api.github.com/repos/nikcub/nzbhydra","forks_url":"https://api.github.com/repos/nikcub/nzbhydra/forks","keys_url":"https://api.github.com/repos/nikcub/nzbhydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikcub/nzbhydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikcub/nzbhydra/teams","hooks_url":"https://api.github.com/repos/nikcub/nzbhydra/hooks","issue_events_url":"https://api.github.com/repos/nikcub/nzbhydra/issues/events{/number}","events_url":"https://api.github.com/repos/nikcub/nzbhydra/events","assignees_url":"https://api.github.com/repos/nikcub/nzbhydra/assignees{/user}","branches_url":"https://api.github.com/repos/nikcub/nzbhydra/branches{/branch}","tags_url":"https://api.github.com/repos/nikcub/nzbhydra/tags","blobs_url":"https://api.github.com/repos/nikcub/nzbhydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikcub/nzbhydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikcub/nzbhydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikcub/nzbhydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikcub/nzbhydra/statuses/{sha}","languages_url":"https://api.github.com/repos/nikcub/nzbhydra/languages","stargazers_url":"https://api.github.com/repos/nikcub/nzbhydra/stargazers","contributors_url":"https://api.github.com/repos/nikcub/nzbhydra/contributors","subscribers_url":"https://api.github.com/repos/nikcub/nzbhydra/subscribers","subscription_url":"https://api.github.com/repos/nikcub/nzbhydra/subscription","commits_url":"https://api.github.com/repos/nikcub/nzbhydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikcub/nzbhydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikcub/nzbhydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikcub/nzbhydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikcub/nzbhydra/contents/{+path}","compare_url":"https://api.github.com/repos/nikcub/nzbhydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikcub/nzbhydra/merges","archive_url":"https://api.github.com/repos/nikcub/nzbhydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikcub/nzbhydra/downloads","issues_url":"https://api.github.com/repos/nikcub/nzbhydra/issues{/number}","pulls_url":"https://api.github.com/repos/nikcub/nzbhydra/pulls{/number}","milestones_url":"https://api.github.com/repos/nikcub/nzbhydra/milestones{/number}","notifications_url":"https://api.github.com/repos/nikcub/nzbhydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikcub/nzbhydra/labels{/name}","releases_url":"https://api.github.com/repos/nikcub/nzbhydra/releases{/id}","deployments_url":"https://api.github.com/repos/nikcub/nzbhydra/deployments","created_at":"2016-04-26T08:46:55Z","updated_at":"2016-04-26T08:46:59Z","pushed_at":"2016-04-26T17:35:41Z","git_url":"git://github.com/nikcub/nzbhydra.git","ssh_url":"git@github.com:nikcub/nzbhydra.git","clone_url":"https://github.com/nikcub/nzbhydra.git","svn_url":"https://github.com/nikcub/nzbhydra","homepage":null,"size":22853,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"theotherp:master","ref":"master","sha":"e62a34106f4c5b360755a2105548086de305a7df","user":{"login":"theotherp","id":14368889,"avatar_url":"https://avatars.githubusercontent.com/u/14368889?v=3","gravatar_id":"","url":"https://api.github.com/users/theotherp","html_url":"https://github.com/theotherp","followers_url":"https://api.github.com/users/theotherp/followers","following_url":"https://api.github.com/users/theotherp/following{/other_user}","gists_url":"https://api.github.com/users/theotherp/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherp/subscriptions","organizations_url":"https://api.github.com/users/theotherp/orgs","repos_url":"https://api.github.com/users/theotherp/repos","events_url":"https://api.github.com/users/theotherp/events{/privacy}","received_events_url":"https://api.github.com/users/theotherp/received_events","type":"User","site_admin":false},"repo":{"id":45493643,"name":"nzbhydra","full_name":"theotherp/nzbhydra","owner":{"login":"theotherp","id":14368889,"avatar_url":"https://avatars.githubusercontent.com/u/14368889?v=3","gravatar_id":"","url":"https://api.github.com/users/theotherp","html_url":"https://github.com/theotherp","followers_url":"https://api.github.com/users/theotherp/followers","following_url":"https://api.github.com/users/theotherp/following{/other_user}","gists_url":"https://api.github.com/users/theotherp/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherp/subscriptions","organizations_url":"https://api.github.com/users/theotherp/orgs","repos_url":"https://api.github.com/users/theotherp/repos","events_url":"https://api.github.com/users/theotherp/events{/privacy}","received_events_url":"https://api.github.com/users/theotherp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theotherp/nzbhydra","description":"Meta search for NZB indexers","fork":false,"url":"https://api.github.com/repos/theotherp/nzbhydra","forks_url":"https://api.github.com/repos/theotherp/nzbhydra/forks","keys_url":"https://api.github.com/repos/theotherp/nzbhydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theotherp/nzbhydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theotherp/nzbhydra/teams","hooks_url":"https://api.github.com/repos/theotherp/nzbhydra/hooks","issue_events_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/events{/number}","events_url":"https://api.github.com/repos/theotherp/nzbhydra/events","assignees_url":"https://api.github.com/repos/theotherp/nzbhydra/assignees{/user}","branches_url":"https://api.github.com/repos/theotherp/nzbhydra/branches{/branch}","tags_url":"https://api.github.com/repos/theotherp/nzbhydra/tags","blobs_url":"https://api.github.com/repos/theotherp/nzbhydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theotherp/nzbhydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theotherp/nzbhydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/theotherp/nzbhydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theotherp/nzbhydra/statuses/{sha}","languages_url":"https://api.github.com/repos/theotherp/nzbhydra/languages","stargazers_url":"https://api.github.com/repos/theotherp/nzbhydra/stargazers","contributors_url":"https://api.github.com/repos/theotherp/nzbhydra/contributors","subscribers_url":"https://api.github.com/repos/theotherp/nzbhydra/subscribers","subscription_url":"https://api.github.com/repos/theotherp/nzbhydra/subscription","commits_url":"https://api.github.com/repos/theotherp/nzbhydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/theotherp/nzbhydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/theotherp/nzbhydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/theotherp/nzbhydra/contents/{+path}","compare_url":"https://api.github.com/repos/theotherp/nzbhydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theotherp/nzbhydra/merges","archive_url":"https://api.github.com/repos/theotherp/nzbhydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theotherp/nzbhydra/downloads","issues_url":"https://api.github.com/repos/theotherp/nzbhydra/issues{/number}","pulls_url":"https://api.github.com/repos/theotherp/nzbhydra/pulls{/number}","milestones_url":"https://api.github.com/repos/theotherp/nzbhydra/milestones{/number}","notifications_url":"https://api.github.com/repos/theotherp/nzbhydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theotherp/nzbhydra/labels{/name}","releases_url":"https://api.github.com/repos/theotherp/nzbhydra/releases{/id}","deployments_url":"https://api.github.com/repos/theotherp/nzbhydra/deployments","created_at":"2015-11-03T20:30:38Z","updated_at":"2016-04-25T21:40:26Z","pushed_at":"2016-04-26T18:23:01Z","git_url":"git://github.com/theotherp/nzbhydra.git","ssh_url":"git@github.com:theotherp/nzbhydra.git","clone_url":"https://github.com/theotherp/nzbhydra.git","svn_url":"https://github.com/theotherp/nzbhydra","homepage":null,"size":22868,"stargazers_count":121,"watchers_count":121,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":21,"forks":10,"open_issues":21,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theotherp/nzbhydra/pulls/198"},"html":{"href":"https://github.com/theotherp/nzbhydra/pull/198"},"issue":{"href":"https://api.github.com/repos/theotherp/nzbhydra/issues/198"},"comments":{"href":"https://api.github.com/repos/theotherp/nzbhydra/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/theotherp/nzbhydra/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/theotherp/nzbhydra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theotherp/nzbhydra/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/theotherp/nzbhydra/statuses/b36ef6485425cf762c511313af45fd89e5af3e3b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"theotherp","id":14368889,"avatar_url":"https://avatars.githubusercontent.com/u/14368889?v=3","gravatar_id":"","url":"https://api.github.com/users/theotherp","html_url":"https://github.com/theotherp","followers_url":"https://api.github.com/users/theotherp/followers","following_url":"https://api.github.com/users/theotherp/following{/other_user}","gists_url":"https://api.github.com/users/theotherp/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherp/subscriptions","organizations_url":"https://api.github.com/users/theotherp/orgs","repos_url":"https://api.github.com/users/theotherp/repos","events_url":"https://api.github.com/users/theotherp/events{/privacy}","received_events_url":"https://api.github.com/users/theotherp/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":13,"additions":82,"deletions":67,"changed_files":3}}