{"action":"created","comment":{"url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/comments/81015735","pull_request_review_id":2027940,"id":81015735,"diff_hunk":"@@ -96,4 +109,27 @@ private OutputStream _decorateLogger(Run build, OutputStream logger) {\n         return allPasswordPairs;\n     }\n \n+    private static class LogstashOutputStreamWrapper extends OutputStreamWrapper {\n+\n+        private final RemoteLogstashWriter wr;\n+        private final List<String> passwordStrings;\n+        private final String prefix;\n+\n+        public LogstashOutputStreamWrapper(RemoteLogstashWriter wr, List<String> passwordStrings, String prefix) {\n+            this.wr = wr;\n+            this.passwordStrings = passwordStrings;\n+            this.prefix = prefix;\n+        }\n+\n+        public Object readResolve() {\n+            return new RemoteLogstashOutputStream(wr, prefix).maskPasswords(passwordStrings);\n+        }\n+\n+        @Override\n+        public void write(int b) throws IOException {\n+            throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.","path":"src/main/java/jenkins/plugins/logstash/remoteLogging/LogstashDaoLoggingMethod.java","position":81,"original_position":81,"commit_id":"4bcbe7b05a27af677025cc19f1affd6b5ff09e6f","original_commit_id":"4bcbe7b05a27af677025cc19f1affd6b5ff09e6f","user":{"login":"xyan0607","id":12664700,"avatar_url":"https://avatars.githubusercontent.com/u/12664700?v=3","gravatar_id":"","url":"https://api.github.com/users/xyan0607","html_url":"https://github.com/xyan0607","followers_url":"https://api.github.com/users/xyan0607/followers","following_url":"https://api.github.com/users/xyan0607/following{/other_user}","gists_url":"https://api.github.com/users/xyan0607/gists{/gist_id}","starred_url":"https://api.github.com/users/xyan0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyan0607/subscriptions","organizations_url":"https://api.github.com/users/xyan0607/orgs","repos_url":"https://api.github.com/users/xyan0607/repos","events_url":"https://api.github.com/users/xyan0607/events{/privacy}","received_events_url":"https://api.github.com/users/xyan0607/received_events","type":"User","site_admin":false},"body":"I see","created_at":"2016-09-28T20:58:42Z","updated_at":"2016-09-28T20:58:42Z","html_url":"https://github.com/oleg-nenashev/logstash-plugin/pull/1#discussion_r81015735","pull_request_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/comments/81015735"},"html":{"href":"https://github.com/oleg-nenashev/logstash-plugin/pull/1#discussion_r81015735"},"pull_request":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1","id":85869007,"html_url":"https://github.com/oleg-nenashev/logstash-plugin/pull/1","diff_url":"https://github.com/oleg-nenashev/logstash-plugin/pull/1.diff","patch_url":"https://github.com/oleg-nenashev/logstash-plugin/pull/1.patch","issue_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/issues/1","number":1,"state":"open","locked":false,"title":"use new LoggingMethod extension point.","user":{"login":"xyan0607","id":12664700,"avatar_url":"https://avatars.githubusercontent.com/u/12664700?v=3","gravatar_id":"","url":"https://api.github.com/users/xyan0607","html_url":"https://github.com/xyan0607","followers_url":"https://api.github.com/users/xyan0607/followers","following_url":"https://api.github.com/users/xyan0607/following{/other_user}","gists_url":"https://api.github.com/users/xyan0607/gists{/gist_id}","starred_url":"https://api.github.com/users/xyan0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyan0607/subscriptions","organizations_url":"https://api.github.com/users/xyan0607/orgs","repos_url":"https://api.github.com/users/xyan0607/repos","events_url":"https://api.github.com/users/xyan0607/events{/privacy}","received_events_url":"https://api.github.com/users/xyan0607/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-19T21:02:50Z","updated_at":"2016-09-28T20:58:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47c0ae97ddcc7b224722583eaa76bbe42df94522","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/issues/1/comments","statuses_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/statuses/4bcbe7b05a27af677025cc19f1affd6b5ff09e6f","head":{"label":"xyan0607:jw-hackaton-remote-logging","ref":"jw-hackaton-remote-logging","sha":"4bcbe7b05a27af677025cc19f1affd6b5ff09e6f","user":{"login":"xyan0607","id":12664700,"avatar_url":"https://avatars.githubusercontent.com/u/12664700?v=3","gravatar_id":"","url":"https://api.github.com/users/xyan0607","html_url":"https://github.com/xyan0607","followers_url":"https://api.github.com/users/xyan0607/followers","following_url":"https://api.github.com/users/xyan0607/following{/other_user}","gists_url":"https://api.github.com/users/xyan0607/gists{/gist_id}","starred_url":"https://api.github.com/users/xyan0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyan0607/subscriptions","organizations_url":"https://api.github.com/users/xyan0607/orgs","repos_url":"https://api.github.com/users/xyan0607/repos","events_url":"https://api.github.com/users/xyan0607/events{/privacy}","received_events_url":"https://api.github.com/users/xyan0607/received_events","type":"User","site_admin":false},"repo":{"id":68625746,"name":"logstash-plugin","full_name":"xyan0607/logstash-plugin","owner":{"login":"xyan0607","id":12664700,"avatar_url":"https://avatars.githubusercontent.com/u/12664700?v=3","gravatar_id":"","url":"https://api.github.com/users/xyan0607","html_url":"https://github.com/xyan0607","followers_url":"https://api.github.com/users/xyan0607/followers","following_url":"https://api.github.com/users/xyan0607/following{/other_user}","gists_url":"https://api.github.com/users/xyan0607/gists{/gist_id}","starred_url":"https://api.github.com/users/xyan0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyan0607/subscriptions","organizations_url":"https://api.github.com/users/xyan0607/orgs","repos_url":"https://api.github.com/users/xyan0607/repos","events_url":"https://api.github.com/users/xyan0607/events{/privacy}","received_events_url":"https://api.github.com/users/xyan0607/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xyan0607/logstash-plugin","description":"Jenkins plugin to ship the console log off to Logstash","fork":true,"url":"https://api.github.com/repos/xyan0607/logstash-plugin","forks_url":"https://api.github.com/repos/xyan0607/logstash-plugin/forks","keys_url":"https://api.github.com/repos/xyan0607/logstash-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xyan0607/logstash-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xyan0607/logstash-plugin/teams","hooks_url":"https://api.github.com/repos/xyan0607/logstash-plugin/hooks","issue_events_url":"https://api.github.com/repos/xyan0607/logstash-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/xyan0607/logstash-plugin/events","assignees_url":"https://api.github.com/repos/xyan0607/logstash-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/xyan0607/logstash-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/xyan0607/logstash-plugin/tags","blobs_url":"https://api.github.com/repos/xyan0607/logstash-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xyan0607/logstash-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xyan0607/logstash-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/xyan0607/logstash-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xyan0607/logstash-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/xyan0607/logstash-plugin/languages","stargazers_url":"https://api.github.com/repos/xyan0607/logstash-plugin/stargazers","contributors_url":"https://api.github.com/repos/xyan0607/logstash-plugin/contributors","subscribers_url":"https://api.github.com/repos/xyan0607/logstash-plugin/subscribers","subscription_url":"https://api.github.com/repos/xyan0607/logstash-plugin/subscription","commits_url":"https://api.github.com/repos/xyan0607/logstash-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/xyan0607/logstash-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/xyan0607/logstash-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/xyan0607/logstash-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/xyan0607/logstash-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/xyan0607/logstash-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xyan0607/logstash-plugin/merges","archive_url":"https://api.github.com/repos/xyan0607/logstash-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xyan0607/logstash-plugin/downloads","issues_url":"https://api.github.com/repos/xyan0607/logstash-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/xyan0607/logstash-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/xyan0607/logstash-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/xyan0607/logstash-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xyan0607/logstash-plugin/labels{/name}","releases_url":"https://api.github.com/repos/xyan0607/logstash-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/xyan0607/logstash-plugin/deployments","created_at":"2016-09-19T16:45:55Z","updated_at":"2016-09-19T16:45:57Z","pushed_at":"2016-09-19T21:00:42Z","git_url":"git://github.com/xyan0607/logstash-plugin.git","ssh_url":"git@github.com:xyan0607/logstash-plugin.git","clone_url":"https://github.com/xyan0607/logstash-plugin.git","svn_url":"https://github.com/xyan0607/logstash-plugin","homepage":null,"size":234,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"oleg-nenashev:jw-hackaton-remote-logging","ref":"jw-hackaton-remote-logging","sha":"0e502edf9ee6dd9afac638147989ca1a66e23191","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"repo":{"id":68400055,"name":"logstash-plugin","full_name":"oleg-nenashev/logstash-plugin","owner":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oleg-nenashev/logstash-plugin","description":"Jenkins plugin to ship the console log off to Logstash","fork":true,"url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin","forks_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/forks","keys_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/teams","hooks_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/hooks","issue_events_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/events","assignees_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/tags","blobs_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/languages","stargazers_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/stargazers","contributors_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/contributors","subscribers_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/subscribers","subscription_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/subscription","commits_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/merges","archive_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/downloads","issues_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/labels{/name}","releases_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/deployments","created_at":"2016-09-16T17:23:16Z","updated_at":"2016-09-16T17:23:18Z","pushed_at":"2016-09-19T21:02:50Z","git_url":"git://github.com/oleg-nenashev/logstash-plugin.git","ssh_url":"git@github.com:oleg-nenashev/logstash-plugin.git","clone_url":"https://github.com/oleg-nenashev/logstash-plugin.git","svn_url":"https://github.com/oleg-nenashev/logstash-plugin","homepage":null,"size":233,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1"},"html":{"href":"https://github.com/oleg-nenashev/logstash-plugin/pull/1"},"issue":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/issues/1"},"comments":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/oleg-nenashev/logstash-plugin/statuses/4bcbe7b05a27af677025cc19f1affd6b5ff09e6f"}}}}
{"actor":{"display_login":"xyan0607"}}