{"action":"created","comment":{"url":"https://api.github.com/repos/rhettg/BlueOx/pulls/comments/27929715","id":27929715,"diff_hunk":"@@ -43,13 +42,13 @@ def on_task_sent(**kwargs):\n \n @signals.worker_process_init.connect\n def on_worker_process_init(**kwargs):\n-    host = getattr(settings, 'BLUEOX_HOST', '127.0.0.1')\n-    port = getattr(settings, 'BLUEOX_PORT', 3514)\n-    blueox.configure(host, port)\n-\n-    handler = blueox.LogHandler()\n-    handler.setLevel(logging.INFO)\n-    logging.getLogger('').addHandler(handler)\n+    if hasattr(settings, 'BLUEOX_HOST'):\n+        if settings.BLUEOX_HOST:\n+            blueox.default_configure(settings.BLUEOX_HOST)\n+        else:","path":"blueox/contrib/celery/celery_signals.py","position":22,"original_position":22,"commit_id":"cc3069e037b6b087bd7d0c4d56c61c35837d4c5b","original_commit_id":"969abf23d1e7af74c804f2b0f19c219797736355","user":{"login":"bordicon","id":185890,"avatar_url":"https://avatars.githubusercontent.com/u/185890?v=3","gravatar_id":"","url":"https://api.github.com/users/bordicon","html_url":"https://github.com/bordicon","followers_url":"https://api.github.com/users/bordicon/followers","following_url":"https://api.github.com/users/bordicon/following{/other_user}","gists_url":"https://api.github.com/users/bordicon/gists{/gist_id}","starred_url":"https://api.github.com/users/bordicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bordicon/subscriptions","organizations_url":"https://api.github.com/users/bordicon/orgs","repos_url":"https://api.github.com/users/bordicon/repos","events_url":"https://api.github.com/users/bordicon/events{/privacy}","received_events_url":"https://api.github.com/users/bordicon/received_events","type":"User","site_admin":false},"body":"`blueox.configure(host=None)` vs `blueox.configure(None)`. I don't care too much.","created_at":"2015-04-07T23:02:16Z","updated_at":"2015-04-07T23:02:16Z","html_url":"https://github.com/rhettg/BlueOx/pull/8#discussion_r27929715","pull_request_url":"https://api.github.com/repos/rhettg/BlueOx/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/rhettg/BlueOx/pulls/comments/27929715"},"html":{"href":"https://github.com/rhettg/BlueOx/pull/8#discussion_r27929715"},"pull_request":{"href":"https://api.github.com/repos/rhettg/BlueOx/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/rhettg/BlueOx/pulls/8","id":32788940,"html_url":"https://github.com/rhettg/BlueOx/pull/8","diff_url":"https://github.com/rhettg/BlueOx/pull/8.diff","patch_url":"https://github.com/rhettg/BlueOx/pull/8.patch","issue_url":"https://api.github.com/repos/rhettg/BlueOx/issues/8","number":8,"state":"open","locked":false,"title":"Default port selection for clients","user":{"login":"rhettg","id":50074,"avatar_url":"https://avatars.githubusercontent.com/u/50074?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettg","html_url":"https://github.com/rhettg","followers_url":"https://api.github.com/users/rhettg/followers","following_url":"https://api.github.com/users/rhettg/following{/other_user}","gists_url":"https://api.github.com/users/rhettg/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettg/subscriptions","organizations_url":"https://api.github.com/users/rhettg/orgs","repos_url":"https://api.github.com/users/rhettg/repos","events_url":"https://api.github.com/users/rhettg/events{/privacy}","received_events_url":"https://api.github.com/users/rhettg/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-04-07T17:59:22Z","updated_at":"2015-04-07T23:02:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"740d668298c05f441dda398c33f0e48a70ec6511","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rhettg/BlueOx/pulls/8/commits","review_comments_url":"https://api.github.com/repos/rhettg/BlueOx/pulls/8/comments","review_comment_url":"https://api.github.com/repos/rhettg/BlueOx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rhettg/BlueOx/issues/8/comments","statuses_url":"https://api.github.com/repos/rhettg/BlueOx/statuses/cc3069e037b6b087bd7d0c4d56c61c35837d4c5b","head":{"label":"rhettg:default_ports","ref":"default_ports","sha":"cc3069e037b6b087bd7d0c4d56c61c35837d4c5b","user":{"login":"rhettg","id":50074,"avatar_url":"https://avatars.githubusercontent.com/u/50074?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettg","html_url":"https://github.com/rhettg","followers_url":"https://api.github.com/users/rhettg/followers","following_url":"https://api.github.com/users/rhettg/following{/other_user}","gists_url":"https://api.github.com/users/rhettg/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettg/subscriptions","organizations_url":"https://api.github.com/users/rhettg/orgs","repos_url":"https://api.github.com/users/rhettg/repos","events_url":"https://api.github.com/users/rhettg/events{/privacy}","received_events_url":"https://api.github.com/users/rhettg/received_events","type":"User","site_admin":false},"repo":{"id":3988120,"name":"BlueOx","full_name":"rhettg/BlueOx","owner":{"login":"rhettg","id":50074,"avatar_url":"https://avatars.githubusercontent.com/u/50074?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettg","html_url":"https://github.com/rhettg","followers_url":"https://api.github.com/users/rhettg/followers","following_url":"https://api.github.com/users/rhettg/following{/other_user}","gists_url":"https://api.github.com/users/rhettg/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettg/subscriptions","organizations_url":"https://api.github.com/users/rhettg/orgs","repos_url":"https://api.github.com/users/rhettg/repos","events_url":"https://api.github.com/users/rhettg/events{/privacy}","received_events_url":"https://api.github.com/users/rhettg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhettg/BlueOx","description":"A library for python-based application logging and data collection","fork":false,"url":"https://api.github.com/repos/rhettg/BlueOx","forks_url":"https://api.github.com/repos/rhettg/BlueOx/forks","keys_url":"https://api.github.com/repos/rhettg/BlueOx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhettg/BlueOx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhettg/BlueOx/teams","hooks_url":"https://api.github.com/repos/rhettg/BlueOx/hooks","issue_events_url":"https://api.github.com/repos/rhettg/BlueOx/issues/events{/number}","events_url":"https://api.github.com/repos/rhettg/BlueOx/events","assignees_url":"https://api.github.com/repos/rhettg/BlueOx/assignees{/user}","branches_url":"https://api.github.com/repos/rhettg/BlueOx/branches{/branch}","tags_url":"https://api.github.com/repos/rhettg/BlueOx/tags","blobs_url":"https://api.github.com/repos/rhettg/BlueOx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhettg/BlueOx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhettg/BlueOx/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhettg/BlueOx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhettg/BlueOx/statuses/{sha}","languages_url":"https://api.github.com/repos/rhettg/BlueOx/languages","stargazers_url":"https://api.github.com/repos/rhettg/BlueOx/stargazers","contributors_url":"https://api.github.com/repos/rhettg/BlueOx/contributors","subscribers_url":"https://api.github.com/repos/rhettg/BlueOx/subscribers","subscription_url":"https://api.github.com/repos/rhettg/BlueOx/subscription","commits_url":"https://api.github.com/repos/rhettg/BlueOx/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhettg/BlueOx/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhettg/BlueOx/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhettg/BlueOx/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhettg/BlueOx/contents/{+path}","compare_url":"https://api.github.com/repos/rhettg/BlueOx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhettg/BlueOx/merges","archive_url":"https://api.github.com/repos/rhettg/BlueOx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhettg/BlueOx/downloads","issues_url":"https://api.github.com/repos/rhettg/BlueOx/issues{/number}","pulls_url":"https://api.github.com/repos/rhettg/BlueOx/pulls{/number}","milestones_url":"https://api.github.com/repos/rhettg/BlueOx/milestones{/number}","notifications_url":"https://api.github.com/repos/rhettg/BlueOx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhettg/BlueOx/labels{/name}","releases_url":"https://api.github.com/repos/rhettg/BlueOx/releases{/id}","created_at":"2012-04-10T23:08:40Z","updated_at":"2015-04-07T19:49:15Z","pushed_at":"2015-04-07T23:02:12Z","git_url":"git://github.com/rhettg/BlueOx.git","ssh_url":"git@github.com:rhettg/BlueOx.git","clone_url":"https://github.com/rhettg/BlueOx.git","svn_url":"https://github.com/rhettg/BlueOx","homepage":"","size":461,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":11,"default_branch":"master"}},"base":{"label":"rhettg:master","ref":"master","sha":"d765bbf255f71ad3a9e4fc6cd889ca26524b6dbb","user":{"login":"rhettg","id":50074,"avatar_url":"https://avatars.githubusercontent.com/u/50074?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettg","html_url":"https://github.com/rhettg","followers_url":"https://api.github.com/users/rhettg/followers","following_url":"https://api.github.com/users/rhettg/following{/other_user}","gists_url":"https://api.github.com/users/rhettg/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettg/subscriptions","organizations_url":"https://api.github.com/users/rhettg/orgs","repos_url":"https://api.github.com/users/rhettg/repos","events_url":"https://api.github.com/users/rhettg/events{/privacy}","received_events_url":"https://api.github.com/users/rhettg/received_events","type":"User","site_admin":false},"repo":{"id":3988120,"name":"BlueOx","full_name":"rhettg/BlueOx","owner":{"login":"rhettg","id":50074,"avatar_url":"https://avatars.githubusercontent.com/u/50074?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettg","html_url":"https://github.com/rhettg","followers_url":"https://api.github.com/users/rhettg/followers","following_url":"https://api.github.com/users/rhettg/following{/other_user}","gists_url":"https://api.github.com/users/rhettg/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettg/subscriptions","organizations_url":"https://api.github.com/users/rhettg/orgs","repos_url":"https://api.github.com/users/rhettg/repos","events_url":"https://api.github.com/users/rhettg/events{/privacy}","received_events_url":"https://api.github.com/users/rhettg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhettg/BlueOx","description":"A library for python-based application logging and data collection","fork":false,"url":"https://api.github.com/repos/rhettg/BlueOx","forks_url":"https://api.github.com/repos/rhettg/BlueOx/forks","keys_url":"https://api.github.com/repos/rhettg/BlueOx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhettg/BlueOx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhettg/BlueOx/teams","hooks_url":"https://api.github.com/repos/rhettg/BlueOx/hooks","issue_events_url":"https://api.github.com/repos/rhettg/BlueOx/issues/events{/number}","events_url":"https://api.github.com/repos/rhettg/BlueOx/events","assignees_url":"https://api.github.com/repos/rhettg/BlueOx/assignees{/user}","branches_url":"https://api.github.com/repos/rhettg/BlueOx/branches{/branch}","tags_url":"https://api.github.com/repos/rhettg/BlueOx/tags","blobs_url":"https://api.github.com/repos/rhettg/BlueOx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhettg/BlueOx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhettg/BlueOx/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhettg/BlueOx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhettg/BlueOx/statuses/{sha}","languages_url":"https://api.github.com/repos/rhettg/BlueOx/languages","stargazers_url":"https://api.github.com/repos/rhettg/BlueOx/stargazers","contributors_url":"https://api.github.com/repos/rhettg/BlueOx/contributors","subscribers_url":"https://api.github.com/repos/rhettg/BlueOx/subscribers","subscription_url":"https://api.github.com/repos/rhettg/BlueOx/subscription","commits_url":"https://api.github.com/repos/rhettg/BlueOx/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhettg/BlueOx/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhettg/BlueOx/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhettg/BlueOx/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhettg/BlueOx/contents/{+path}","compare_url":"https://api.github.com/repos/rhettg/BlueOx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhettg/BlueOx/merges","archive_url":"https://api.github.com/repos/rhettg/BlueOx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhettg/BlueOx/downloads","issues_url":"https://api.github.com/repos/rhettg/BlueOx/issues{/number}","pulls_url":"https://api.github.com/repos/rhettg/BlueOx/pulls{/number}","milestones_url":"https://api.github.com/repos/rhettg/BlueOx/milestones{/number}","notifications_url":"https://api.github.com/repos/rhettg/BlueOx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhettg/BlueOx/labels{/name}","releases_url":"https://api.github.com/repos/rhettg/BlueOx/releases{/id}","created_at":"2012-04-10T23:08:40Z","updated_at":"2015-04-07T19:49:15Z","pushed_at":"2015-04-07T23:02:12Z","git_url":"git://github.com/rhettg/BlueOx.git","ssh_url":"git@github.com:rhettg/BlueOx.git","clone_url":"https://github.com/rhettg/BlueOx.git","svn_url":"https://github.com/rhettg/BlueOx","homepage":"","size":461,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rhettg/BlueOx/pulls/8"},"html":{"href":"https://github.com/rhettg/BlueOx/pull/8"},"issue":{"href":"https://api.github.com/repos/rhettg/BlueOx/issues/8"},"comments":{"href":"https://api.github.com/repos/rhettg/BlueOx/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/rhettg/BlueOx/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/rhettg/BlueOx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rhettg/BlueOx/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/rhettg/BlueOx/statuses/cc3069e037b6b087bd7d0c4d56c61c35837d4c5b"}}}}