{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/mysql-5.6/issues/385","repository_url":"https://api.github.com/repos/facebook/mysql-5.6","labels_url":"https://api.github.com/repos/facebook/mysql-5.6/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/facebook/mysql-5.6/issues/385/comments","events_url":"https://api.github.com/repos/facebook/mysql-5.6/issues/385/events","html_url":"https://github.com/facebook/mysql-5.6/pull/385","id":186729723,"number":385,"title":"Log legacy user connections in slow log","user":{"login":"tianx","id":5660007,"avatar_url":"https://avatars.githubusercontent.com/u/5660007?v=3","gravatar_id":"","url":"https://api.github.com/users/tianx","html_url":"https://github.com/tianx","followers_url":"https://api.github.com/users/tianx/followers","following_url":"https://api.github.com/users/tianx/following{/other_user}","gists_url":"https://api.github.com/users/tianx/gists{/gist_id}","starred_url":"https://api.github.com/users/tianx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianx/subscriptions","organizations_url":"https://api.github.com/users/tianx/orgs","repos_url":"https://api.github.com/users/tianx/repos","events_url":"https://api.github.com/users/tianx/events{/privacy}","received_events_url":"https://api.github.com/users/tianx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-11-02T07:27:01Z","updated_at":"2016-11-08T00:04:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/mysql-5.6/pulls/385","html_url":"https://github.com/facebook/mysql-5.6/pull/385","diff_url":"https://github.com/facebook/mysql-5.6/pull/385.diff","patch_url":"https://github.com/facebook/mysql-5.6/pull/385.patch"},"body":"Summary:\r\nIntroduced two global system variables for legacy user logging:\r\n  - log_legacy_user: log legacy user connections. default is turned off.\r\n  - legacy_user_name_pattern: regex pattern of a legacy user name.\r\n\r\nIf log_legacy_user is turned on, a legacy user connection will be logged in the\r\nslow log, which is prefixed with `LEGACY_USER: `.\r\n\r\nTest Plan: Added new mtr tests."},"comment":{"url":"https://api.github.com/repos/facebook/mysql-5.6/issues/comments/259004042","html_url":"https://github.com/facebook/mysql-5.6/pull/385#issuecomment-259004042","issue_url":"https://api.github.com/repos/facebook/mysql-5.6/issues/385","id":259004042,"user":{"login":"facebook-github-bot","id":6422482,"avatar_url":"https://avatars.githubusercontent.com/u/6422482?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot","html_url":"https://github.com/facebook-github-bot","followers_url":"https://api.github.com/users/facebook-github-bot/followers","following_url":"https://api.github.com/users/facebook-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot/orgs","repos_url":"https://api.github.com/users/facebook-github-bot/repos","events_url":"https://api.github.com/users/facebook-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T00:04:10Z","updated_at":"2016-11-08T00:04:10Z","body":"@tianx updated the pull request - [view changes](https://github.com/facebook/mysql-5.6/pull/385/files/63278b1f8365349e72b26b7a2d30001c2caff2b0..c22204c678abfed7b1c6abe25829f86eac9242df) - [changes since last import](https://github.com/facebook/mysql-5.6/pull/385/files/63278b1f8365349e72b26b7a2d30001c2caff2b0..c22204c678abfed7b1c6abe25829f86eac9242df)"}}
{"actor":{"display_login":"facebook-github-bot"}}