{"action":"opened","number":6748,"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/6748","id":192343547,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMzQzNTQ3","html_url":"https://github.com/pingcap/tidb/pull/6748","diff_url":"https://github.com/pingcap/tidb/pull/6748.diff","patch_url":"https://github.com/pingcap/tidb/pull/6748.patch","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/6748","number":6748,"state":"open","locked":false,"title":"executor, session: replace new line and add user in query log","user":{"login":"coocood","id":891222,"node_id":"MDQ6VXNlcjg5MTIyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/891222?v=4","gravatar_id":"","url":"https://api.github.com/users/coocood","html_url":"https://github.com/coocood","followers_url":"https://api.github.com/users/coocood/followers","following_url":"https://api.github.com/users/coocood/following{/other_user}","gists_url":"https://api.github.com/users/coocood/gists{/gist_id}","starred_url":"https://api.github.com/users/coocood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coocood/subscriptions","organizations_url":"https://api.github.com/users/coocood/orgs","repos_url":"https://api.github.com/users/coocood/repos","events_url":"https://api.github.com/users/coocood/events{/privacy}","received_events_url":"https://api.github.com/users/coocood/received_events","type":"User","site_admin":false},"body":"## What have you changed? (mandatory)\r\n\r\nreplace new line and add user in query log\r\n\r\n## What are the type of the changes (mandatory)?\r\n\r\nImprove the log.\r\n\r\n## How has this PR been tested (mandatory)?\r\n\r\nStart a tidb-server and observe the log.\r\n\r\n","created_at":"2018-06-04T09:12:43Z","updated_at":"2018-06-04T09:12:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/tidb/pulls/6748/commits","review_comments_url":"https://api.github.com/repos/pingcap/tidb/pulls/6748/comments","review_comment_url":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/6748/comments","statuses_url":"https://api.github.com/repos/pingcap/tidb/statuses/be234d3e2a29c81d27457494e43809cad7be45da","head":{"label":"coocood:refine-query-log","ref":"refine-query-log","sha":"be234d3e2a29c81d27457494e43809cad7be45da","user":{"login":"coocood","id":891222,"node_id":"MDQ6VXNlcjg5MTIyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/891222?v=4","gravatar_id":"","url":"https://api.github.com/users/coocood","html_url":"https://github.com/coocood","followers_url":"https://api.github.com/users/coocood/followers","following_url":"https://api.github.com/users/coocood/following{/other_user}","gists_url":"https://api.github.com/users/coocood/gists{/gist_id}","starred_url":"https://api.github.com/users/coocood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coocood/subscriptions","organizations_url":"https://api.github.com/users/coocood/orgs","repos_url":"https://api.github.com/users/coocood/repos","events_url":"https://api.github.com/users/coocood/events{/privacy}","received_events_url":"https://api.github.com/users/coocood/received_events","type":"User","site_admin":false},"repo":{"id":41986669,"node_id":"MDEwOlJlcG9zaXRvcnk0MTk4NjY2OQ==","name":"tidb","full_name":"coocood/tidb","owner":{"login":"coocood","id":891222,"node_id":"MDQ6VXNlcjg5MTIyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/891222?v=4","gravatar_id":"","url":"https://api.github.com/users/coocood","html_url":"https://github.com/coocood","followers_url":"https://api.github.com/users/coocood/followers","following_url":"https://api.github.com/users/coocood/following{/other_user}","gists_url":"https://api.github.com/users/coocood/gists{/gist_id}","starred_url":"https://api.github.com/users/coocood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coocood/subscriptions","organizations_url":"https://api.github.com/users/coocood/orgs","repos_url":"https://api.github.com/users/coocood/repos","events_url":"https://api.github.com/users/coocood/events{/privacy}","received_events_url":"https://api.github.com/users/coocood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coocood/tidb","description":"TiDB is a distributed SQL database.","fork":true,"url":"https://api.github.com/repos/coocood/tidb","forks_url":"https://api.github.com/repos/coocood/tidb/forks","keys_url":"https://api.github.com/repos/coocood/tidb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coocood/tidb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coocood/tidb/teams","hooks_url":"https://api.github.com/repos/coocood/tidb/hooks","issue_events_url":"https://api.github.com/repos/coocood/tidb/issues/events{/number}","events_url":"https://api.github.com/repos/coocood/tidb/events","assignees_url":"https://api.github.com/repos/coocood/tidb/assignees{/user}","branches_url":"https://api.github.com/repos/coocood/tidb/branches{/branch}","tags_url":"https://api.github.com/repos/coocood/tidb/tags","blobs_url":"https://api.github.com/repos/coocood/tidb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coocood/tidb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coocood/tidb/git/refs{/sha}","trees_url":"https://api.github.com/repos/coocood/tidb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coocood/tidb/statuses/{sha}","languages_url":"https://api.github.com/repos/coocood/tidb/languages","stargazers_url":"https://api.github.com/repos/coocood/tidb/stargazers","contributors_url":"https://api.github.com/repos/coocood/tidb/contributors","subscribers_url":"https://api.github.com/repos/coocood/tidb/subscribers","subscription_url":"https://api.github.com/repos/coocood/tidb/subscription","commits_url":"https://api.github.com/repos/coocood/tidb/commits{/sha}","git_commits_url":"https://api.github.com/repos/coocood/tidb/git/commits{/sha}","comments_url":"https://api.github.com/repos/coocood/tidb/comments{/number}","issue_comment_url":"https://api.github.com/repos/coocood/tidb/issues/comments{/number}","contents_url":"https://api.github.com/repos/coocood/tidb/contents/{+path}","compare_url":"https://api.github.com/repos/coocood/tidb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coocood/tidb/merges","archive_url":"https://api.github.com/repos/coocood/tidb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coocood/tidb/downloads","issues_url":"https://api.github.com/repos/coocood/tidb/issues{/number}","pulls_url":"https://api.github.com/repos/coocood/tidb/pulls{/number}","milestones_url":"https://api.github.com/repos/coocood/tidb/milestones{/number}","notifications_url":"https://api.github.com/repos/coocood/tidb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coocood/tidb/labels{/name}","releases_url":"https://api.github.com/repos/coocood/tidb/releases{/id}","deployments_url":"https://api.github.com/repos/coocood/tidb/deployments","created_at":"2015-09-06T04:16:21Z","updated_at":"2018-05-11T14:03:03Z","pushed_at":"2018-06-04T09:00:02Z","git_url":"git://github.com/coocood/tidb.git","ssh_url":"git@github.com:coocood/tidb.git","clone_url":"https://github.com/coocood/tidb.git","svn_url":"https://github.com/coocood/tidb","homepage":"","size":46099,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"7f755cdf134691547cd5bf7993fa31a3cc0688d7","user":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":41986369,"node_id":"MDEwOlJlcG9zaXRvcnk0MTk4NjM2OQ==","name":"tidb","full_name":"pingcap/tidb","owner":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingcap/tidb","description":"TiDB is a distributed HTAP database compatible with the MySQL protocol ","fork":false,"url":"https://api.github.com/repos/pingcap/tidb","forks_url":"https://api.github.com/repos/pingcap/tidb/forks","keys_url":"https://api.github.com/repos/pingcap/tidb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/tidb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/tidb/teams","hooks_url":"https://api.github.com/repos/pingcap/tidb/hooks","issue_events_url":"https://api.github.com/repos/pingcap/tidb/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/tidb/events","assignees_url":"https://api.github.com/repos/pingcap/tidb/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/tidb/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/tidb/tags","blobs_url":"https://api.github.com/repos/pingcap/tidb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/tidb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/tidb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/tidb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/tidb/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/tidb/languages","stargazers_url":"https://api.github.com/repos/pingcap/tidb/stargazers","contributors_url":"https://api.github.com/repos/pingcap/tidb/contributors","subscribers_url":"https://api.github.com/repos/pingcap/tidb/subscribers","subscription_url":"https://api.github.com/repos/pingcap/tidb/subscription","commits_url":"https://api.github.com/repos/pingcap/tidb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/tidb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/tidb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/tidb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/tidb/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/tidb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/tidb/merges","archive_url":"https://api.github.com/repos/pingcap/tidb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/tidb/downloads","issues_url":"https://api.github.com/repos/pingcap/tidb/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/tidb/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/tidb/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/tidb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/tidb/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/tidb/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/tidb/deployments","created_at":"2015-09-06T04:01:52Z","updated_at":"2018-06-04T08:30:19Z","pushed_at":"2018-06-04T09:11:19Z","git_url":"git://github.com/pingcap/tidb.git","ssh_url":"git@github.com:pingcap/tidb.git","clone_url":"https://github.com/pingcap/tidb.git","svn_url":"https://github.com/pingcap/tidb","homepage":"https://pingcap.com","size":74374,"stargazers_count":13530,"watchers_count":13530,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1840,"mirror_url":null,"archived":false,"open_issues_count":426,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1840,"open_issues":426,"watchers":13530,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6748"},"html":{"href":"https://github.com/pingcap/tidb/pull/6748"},"issue":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6748"},"comments":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6748/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6748/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6748/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/tidb/statuses/be234d3e2a29c81d27457494e43809cad7be45da"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":22,"deletions":10,"changed_files":2}}
{"actor":{"display_login":"coocood"}}