{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/34381176","id":34381176,"diff_hunk":"@@ -90,24 +89,26 @@ def emit(self, record):\n                  else 'EXTERNAL'),\n                 record.getMessage()\n             )\n-            filter = get_exception_reporter_filter(request)\n-            request_repr = '\\n{}'.format(force_text(filter.get_request_repr(request)))\n         except Exception:\n             subject = '%s: %s' % (\n                 record.levelname,\n                 record.getMessage()\n             )\n             request = None\n-            request_repr = \"unavailable\"\n         subject = self.format_subject(subject)\n \n+        # Create a copy of the record but omit information about the exception.\n+        # We add nicely formatted traceback on our own.","path":"django/utils/log.py","position":27,"original_position":27,"commit_id":"2bc2d27211cd1367e6a49bb27504a92e9f063adb","original_commit_id":"2bc2d27211cd1367e6a49bb27504a92e9f063adb","user":{"login":"timgraham","id":411869,"avatar_url":"https://avatars.githubusercontent.com/u/411869?v=3","gravatar_id":"","url":"https://api.github.com/users/timgraham","html_url":"https://github.com/timgraham","followers_url":"https://api.github.com/users/timgraham/followers","following_url":"https://api.github.com/users/timgraham/following{/other_user}","gists_url":"https://api.github.com/users/timgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/timgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgraham/subscriptions","organizations_url":"https://api.github.com/users/timgraham/orgs","repos_url":"https://api.github.com/users/timgraham/repos","events_url":"https://api.github.com/users/timgraham/events{/privacy}","received_events_url":"https://api.github.com/users/timgraham/received_events","type":"User","site_admin":false},"body":"\"since we add a nicely...\" (make one sentence)","created_at":"2015-07-10T18:18:05Z","updated_at":"2015-07-10T18:18:05Z","html_url":"https://github.com/django/django/pull/4977#discussion_r34381176","pull_request_url":"https://api.github.com/repos/django/django/pulls/4977","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/34381176"},"html":{"href":"https://github.com/django/django/pull/4977#discussion_r34381176"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/4977"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/4977","id":39661305,"html_url":"https://github.com/django/django/pull/4977","diff_url":"https://github.com/django/django/pull/4977.diff","patch_url":"https://github.com/django/django/pull/4977.patch","issue_url":"https://api.github.com/repos/django/django/issues/4977","number":4977,"state":"open","locked":false,"title":"Fixes #25099 - Clean up HttpRequest representations","user":{"login":"ziima","id":331955,"avatar_url":"https://avatars.githubusercontent.com/u/331955?v=3","gravatar_id":"","url":"https://api.github.com/users/ziima","html_url":"https://github.com/ziima","followers_url":"https://api.github.com/users/ziima/followers","following_url":"https://api.github.com/users/ziima/following{/other_user}","gists_url":"https://api.github.com/users/ziima/gists{/gist_id}","starred_url":"https://api.github.com/users/ziima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziima/subscriptions","organizations_url":"https://api.github.com/users/ziima/orgs","repos_url":"https://api.github.com/users/ziima/repos","events_url":"https://api.github.com/users/ziima/events{/privacy}","received_events_url":"https://api.github.com/users/ziima/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-10T08:10:26Z","updated_at":"2015-07-10T18:18:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7adf02e40df19075c05e11d8a1eb9c0aa1760af2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/4977/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/4977/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/4977/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/2bc2d27211cd1367e6a49bb27504a92e9f063adb","head":{"label":"ziima:ticket_25099-cleanup-http-repr","ref":"ticket_25099-cleanup-http-repr","sha":"2bc2d27211cd1367e6a49bb27504a92e9f063adb","user":{"login":"ziima","id":331955,"avatar_url":"https://avatars.githubusercontent.com/u/331955?v=3","gravatar_id":"","url":"https://api.github.com/users/ziima","html_url":"https://github.com/ziima","followers_url":"https://api.github.com/users/ziima/followers","following_url":"https://api.github.com/users/ziima/following{/other_user}","gists_url":"https://api.github.com/users/ziima/gists{/gist_id}","starred_url":"https://api.github.com/users/ziima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziima/subscriptions","organizations_url":"https://api.github.com/users/ziima/orgs","repos_url":"https://api.github.com/users/ziima/repos","events_url":"https://api.github.com/users/ziima/events{/privacy}","received_events_url":"https://api.github.com/users/ziima/received_events","type":"User","site_admin":false},"repo":{"id":4834219,"name":"django","full_name":"ziima/django","owner":{"login":"ziima","id":331955,"avatar_url":"https://avatars.githubusercontent.com/u/331955?v=3","gravatar_id":"","url":"https://api.github.com/users/ziima","html_url":"https://github.com/ziima","followers_url":"https://api.github.com/users/ziima/followers","following_url":"https://api.github.com/users/ziima/following{/other_user}","gists_url":"https://api.github.com/users/ziima/gists{/gist_id}","starred_url":"https://api.github.com/users/ziima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziima/subscriptions","organizations_url":"https://api.github.com/users/ziima/orgs","repos_url":"https://api.github.com/users/ziima/repos","events_url":"https://api.github.com/users/ziima/events{/privacy}","received_events_url":"https://api.github.com/users/ziima/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ziima/django","description":"The Web framework for perfectionists with deadlines. Now on GitHub.","fork":true,"url":"https://api.github.com/repos/ziima/django","forks_url":"https://api.github.com/repos/ziima/django/forks","keys_url":"https://api.github.com/repos/ziima/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ziima/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ziima/django/teams","hooks_url":"https://api.github.com/repos/ziima/django/hooks","issue_events_url":"https://api.github.com/repos/ziima/django/issues/events{/number}","events_url":"https://api.github.com/repos/ziima/django/events","assignees_url":"https://api.github.com/repos/ziima/django/assignees{/user}","branches_url":"https://api.github.com/repos/ziima/django/branches{/branch}","tags_url":"https://api.github.com/repos/ziima/django/tags","blobs_url":"https://api.github.com/repos/ziima/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ziima/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ziima/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/ziima/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ziima/django/statuses/{sha}","languages_url":"https://api.github.com/repos/ziima/django/languages","stargazers_url":"https://api.github.com/repos/ziima/django/stargazers","contributors_url":"https://api.github.com/repos/ziima/django/contributors","subscribers_url":"https://api.github.com/repos/ziima/django/subscribers","subscription_url":"https://api.github.com/repos/ziima/django/subscription","commits_url":"https://api.github.com/repos/ziima/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/ziima/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/ziima/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/ziima/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/ziima/django/contents/{+path}","compare_url":"https://api.github.com/repos/ziima/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ziima/django/merges","archive_url":"https://api.github.com/repos/ziima/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ziima/django/downloads","issues_url":"https://api.github.com/repos/ziima/django/issues{/number}","pulls_url":"https://api.github.com/repos/ziima/django/pulls{/number}","milestones_url":"https://api.github.com/repos/ziima/django/milestones{/number}","notifications_url":"https://api.github.com/repos/ziima/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ziima/django/labels{/name}","releases_url":"https://api.github.com/repos/ziima/django/releases{/id}","created_at":"2012-06-29T15:59:41Z","updated_at":"2015-03-10T00:44:55Z","pushed_at":"2015-07-10T10:25:49Z","git_url":"git://github.com/ziima/django.git","ssh_url":"git@github.com:ziima/django.git","clone_url":"https://github.com/ziima/django.git","svn_url":"https://github.com/ziima/django","homepage":"http://www.djangoproject.com/","size":113910,"stargazers_count":1,"watchers_count":1,"language":"Python","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":1,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"2e05ef4e18c8fea0c199e4fc32278cce11158ac0","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-07-10T13:11:49Z","pushed_at":"2015-07-10T18:14:29Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":295873,"stargazers_count":15000,"watchers_count":15000,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5983,"mirror_url":null,"open_issues_count":85,"forks":5983,"open_issues":85,"watchers":15000,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/4977"},"html":{"href":"https://github.com/django/django/pull/4977"},"issue":{"href":"https://api.github.com/repos/django/django/issues/4977"},"comments":{"href":"https://api.github.com/repos/django/django/issues/4977/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/4977/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/4977/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/2bc2d27211cd1367e6a49bb27504a92e9f063adb"}}}}