{"action":"created","comment":{"url":"https://api.github.com/repos/allure-framework/allure-cli/pulls/comments/36341677","id":36341677,"diff_hunk":"@@ -0,0 +1,83 @@\n+package ru.yandex.qatools.allure.logging;\n+\n+import org.apache.log4j.Level;\n+import org.apache.log4j.Priority;\n+import org.apache.log4j.ConsoleAppender;\n+import org.apache.log4j.spi.LoggingEvent;\n+\n+\n+/**\n+ * eroshenkoam\n+ * 05.08.15\n+ */\n+public class ANSIConsoleAppender extends ConsoleAppender {\n+    private static final int NORMAL = 0;\n+    private static final int BRIGHT = 1;\n+    private static final int FOREGROUND_BLACK = 30;\n+    private static final int FOREGROUND_RED = 31;\n+    private static final int FOREGROUND_GREEN = 32;\n+    private static final int FOREGROUND_YELLOW = 33;\n+    private static final int FOREGROUND_BLUE = 34;\n+    private static final int FOREGROUND_MAGENTA = 35;","path":"src/main/java/ru/yandex/qatools/allure/logging/ANSIConsoleAppender.java","position":21,"original_position":21,"commit_id":"c49d437b53cbbd5ceab7dd34b12814b4df553e8b","original_commit_id":"c49d437b53cbbd5ceab7dd34b12814b4df553e8b","user":{"login":"qatools-ci","id":4466920,"avatar_url":"https://avatars.githubusercontent.com/u/4466920?v=3","gravatar_id":"","url":"https://api.github.com/users/qatools-ci","html_url":"https://github.com/qatools-ci","followers_url":"https://api.github.com/users/qatools-ci/followers","following_url":"https://api.github.com/users/qatools-ci/following{/other_user}","gists_url":"https://api.github.com/users/qatools-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/qatools-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qatools-ci/subscriptions","organizations_url":"https://api.github.com/users/qatools-ci/orgs","repos_url":"https://api.github.com/users/qatools-ci/repos","events_url":"https://api.github.com/users/qatools-ci/events{/privacy}","received_events_url":"https://api.github.com/users/qatools-ci/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Remove this unused \"FOREGROUND_MAGENTA\" private field. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1068)\n","created_at":"2015-08-05T19:09:53Z","updated_at":"2015-08-05T19:09:53Z","html_url":"https://github.com/allure-framework/allure-cli/pull/38#discussion_r36341677","pull_request_url":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/allure-framework/allure-cli/pulls/comments/36341677"},"html":{"href":"https://github.com/allure-framework/allure-cli/pull/38#discussion_r36341677"},"pull_request":{"href":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38","id":41486926,"html_url":"https://github.com/allure-framework/allure-cli/pull/38","diff_url":"https://github.com/allure-framework/allure-cli/pull/38.diff","patch_url":"https://github.com/allure-framework/allure-cli/pull/38.patch","issue_url":"https://api.github.com/repos/allure-framework/allure-cli/issues/38","number":38,"state":"open","locked":false,"title":"Offline mode refactoring (not ready to merge)","user":{"login":"eroshenkoam","id":781455,"avatar_url":"https://avatars.githubusercontent.com/u/781455?v=3","gravatar_id":"","url":"https://api.github.com/users/eroshenkoam","html_url":"https://github.com/eroshenkoam","followers_url":"https://api.github.com/users/eroshenkoam/followers","following_url":"https://api.github.com/users/eroshenkoam/following{/other_user}","gists_url":"https://api.github.com/users/eroshenkoam/gists{/gist_id}","starred_url":"https://api.github.com/users/eroshenkoam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroshenkoam/subscriptions","organizations_url":"https://api.github.com/users/eroshenkoam/orgs","repos_url":"https://api.github.com/users/eroshenkoam/repos","events_url":"https://api.github.com/users/eroshenkoam/events{/privacy}","received_events_url":"https://api.github.com/users/eroshenkoam/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-03T16:52:43Z","updated_at":"2015-08-05T19:09:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9eea6887d8f4dcd8f4bec56e8957291d8298658","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38/commits","review_comments_url":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38/comments","review_comment_url":"https://api.github.com/repos/allure-framework/allure-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allure-framework/allure-cli/issues/38/comments","statuses_url":"https://api.github.com/repos/allure-framework/allure-cli/statuses/c49d437b53cbbd5ceab7dd34b12814b4df553e8b","head":{"label":"eroshenkoam:master","ref":"master","sha":"c49d437b53cbbd5ceab7dd34b12814b4df553e8b","user":{"login":"eroshenkoam","id":781455,"avatar_url":"https://avatars.githubusercontent.com/u/781455?v=3","gravatar_id":"","url":"https://api.github.com/users/eroshenkoam","html_url":"https://github.com/eroshenkoam","followers_url":"https://api.github.com/users/eroshenkoam/followers","following_url":"https://api.github.com/users/eroshenkoam/following{/other_user}","gists_url":"https://api.github.com/users/eroshenkoam/gists{/gist_id}","starred_url":"https://api.github.com/users/eroshenkoam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroshenkoam/subscriptions","organizations_url":"https://api.github.com/users/eroshenkoam/orgs","repos_url":"https://api.github.com/users/eroshenkoam/repos","events_url":"https://api.github.com/users/eroshenkoam/events{/privacy}","received_events_url":"https://api.github.com/users/eroshenkoam/received_events","type":"User","site_admin":false},"repo":{"id":22870220,"name":"allure-cli","full_name":"eroshenkoam/allure-cli","owner":{"login":"eroshenkoam","id":781455,"avatar_url":"https://avatars.githubusercontent.com/u/781455?v=3","gravatar_id":"","url":"https://api.github.com/users/eroshenkoam","html_url":"https://github.com/eroshenkoam","followers_url":"https://api.github.com/users/eroshenkoam/followers","following_url":"https://api.github.com/users/eroshenkoam/following{/other_user}","gists_url":"https://api.github.com/users/eroshenkoam/gists{/gist_id}","starred_url":"https://api.github.com/users/eroshenkoam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroshenkoam/subscriptions","organizations_url":"https://api.github.com/users/eroshenkoam/orgs","repos_url":"https://api.github.com/users/eroshenkoam/repos","events_url":"https://api.github.com/users/eroshenkoam/events{/privacy}","received_events_url":"https://api.github.com/users/eroshenkoam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eroshenkoam/allure-cli","description":"Allure Command Line Tool","fork":true,"url":"https://api.github.com/repos/eroshenkoam/allure-cli","forks_url":"https://api.github.com/repos/eroshenkoam/allure-cli/forks","keys_url":"https://api.github.com/repos/eroshenkoam/allure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eroshenkoam/allure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eroshenkoam/allure-cli/teams","hooks_url":"https://api.github.com/repos/eroshenkoam/allure-cli/hooks","issue_events_url":"https://api.github.com/repos/eroshenkoam/allure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/eroshenkoam/allure-cli/events","assignees_url":"https://api.github.com/repos/eroshenkoam/allure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/eroshenkoam/allure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/eroshenkoam/allure-cli/tags","blobs_url":"https://api.github.com/repos/eroshenkoam/allure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eroshenkoam/allure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eroshenkoam/allure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/eroshenkoam/allure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eroshenkoam/allure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/eroshenkoam/allure-cli/languages","stargazers_url":"https://api.github.com/repos/eroshenkoam/allure-cli/stargazers","contributors_url":"https://api.github.com/repos/eroshenkoam/allure-cli/contributors","subscribers_url":"https://api.github.com/repos/eroshenkoam/allure-cli/subscribers","subscription_url":"https://api.github.com/repos/eroshenkoam/allure-cli/subscription","commits_url":"https://api.github.com/repos/eroshenkoam/allure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/eroshenkoam/allure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/eroshenkoam/allure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/eroshenkoam/allure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/eroshenkoam/allure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/eroshenkoam/allure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eroshenkoam/allure-cli/merges","archive_url":"https://api.github.com/repos/eroshenkoam/allure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eroshenkoam/allure-cli/downloads","issues_url":"https://api.github.com/repos/eroshenkoam/allure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/eroshenkoam/allure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/eroshenkoam/allure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/eroshenkoam/allure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eroshenkoam/allure-cli/labels{/name}","releases_url":"https://api.github.com/repos/eroshenkoam/allure-cli/releases{/id}","created_at":"2014-08-12T08:26:42Z","updated_at":"2015-03-16T10:50:37Z","pushed_at":"2015-08-05T19:08:31Z","git_url":"git://github.com/eroshenkoam/allure-cli.git","ssh_url":"git@github.com:eroshenkoam/allure-cli.git","clone_url":"https://github.com/eroshenkoam/allure-cli.git","svn_url":"https://github.com/eroshenkoam/allure-cli","homepage":null,"size":165,"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":"allure-framework:master","ref":"master","sha":"6d07ea87d9c5cd6928acc1f35a9113e0f490a2e3","user":{"login":"allure-framework","id":5879127,"avatar_url":"https://avatars.githubusercontent.com/u/5879127?v=3","gravatar_id":"","url":"https://api.github.com/users/allure-framework","html_url":"https://github.com/allure-framework","followers_url":"https://api.github.com/users/allure-framework/followers","following_url":"https://api.github.com/users/allure-framework/following{/other_user}","gists_url":"https://api.github.com/users/allure-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/allure-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allure-framework/subscriptions","organizations_url":"https://api.github.com/users/allure-framework/orgs","repos_url":"https://api.github.com/users/allure-framework/repos","events_url":"https://api.github.com/users/allure-framework/events{/privacy}","received_events_url":"https://api.github.com/users/allure-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":21694244,"name":"allure-cli","full_name":"allure-framework/allure-cli","owner":{"login":"allure-framework","id":5879127,"avatar_url":"https://avatars.githubusercontent.com/u/5879127?v=3","gravatar_id":"","url":"https://api.github.com/users/allure-framework","html_url":"https://github.com/allure-framework","followers_url":"https://api.github.com/users/allure-framework/followers","following_url":"https://api.github.com/users/allure-framework/following{/other_user}","gists_url":"https://api.github.com/users/allure-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/allure-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allure-framework/subscriptions","organizations_url":"https://api.github.com/users/allure-framework/orgs","repos_url":"https://api.github.com/users/allure-framework/repos","events_url":"https://api.github.com/users/allure-framework/events{/privacy}","received_events_url":"https://api.github.com/users/allure-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allure-framework/allure-cli","description":"Allure Command Line Tool","fork":false,"url":"https://api.github.com/repos/allure-framework/allure-cli","forks_url":"https://api.github.com/repos/allure-framework/allure-cli/forks","keys_url":"https://api.github.com/repos/allure-framework/allure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allure-framework/allure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allure-framework/allure-cli/teams","hooks_url":"https://api.github.com/repos/allure-framework/allure-cli/hooks","issue_events_url":"https://api.github.com/repos/allure-framework/allure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/allure-framework/allure-cli/events","assignees_url":"https://api.github.com/repos/allure-framework/allure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/allure-framework/allure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/allure-framework/allure-cli/tags","blobs_url":"https://api.github.com/repos/allure-framework/allure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allure-framework/allure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allure-framework/allure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/allure-framework/allure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allure-framework/allure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/allure-framework/allure-cli/languages","stargazers_url":"https://api.github.com/repos/allure-framework/allure-cli/stargazers","contributors_url":"https://api.github.com/repos/allure-framework/allure-cli/contributors","subscribers_url":"https://api.github.com/repos/allure-framework/allure-cli/subscribers","subscription_url":"https://api.github.com/repos/allure-framework/allure-cli/subscription","commits_url":"https://api.github.com/repos/allure-framework/allure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/allure-framework/allure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/allure-framework/allure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/allure-framework/allure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/allure-framework/allure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/allure-framework/allure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allure-framework/allure-cli/merges","archive_url":"https://api.github.com/repos/allure-framework/allure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allure-framework/allure-cli/downloads","issues_url":"https://api.github.com/repos/allure-framework/allure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/allure-framework/allure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/allure-framework/allure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/allure-framework/allure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allure-framework/allure-cli/labels{/name}","releases_url":"https://api.github.com/repos/allure-framework/allure-cli/releases{/id}","created_at":"2014-07-10T12:59:26Z","updated_at":"2015-07-27T14:04:23Z","pushed_at":"2015-08-05T19:08:32Z","git_url":"git://github.com/allure-framework/allure-cli.git","ssh_url":"git@github.com:allure-framework/allure-cli.git","clone_url":"https://github.com/allure-framework/allure-cli.git","svn_url":"https://github.com/allure-framework/allure-cli","homepage":null,"size":406,"stargazers_count":18,"watchers_count":18,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38"},"html":{"href":"https://github.com/allure-framework/allure-cli/pull/38"},"issue":{"href":"https://api.github.com/repos/allure-framework/allure-cli/issues/38"},"comments":{"href":"https://api.github.com/repos/allure-framework/allure-cli/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/allure-framework/allure-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allure-framework/allure-cli/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/allure-framework/allure-cli/statuses/c49d437b53cbbd5ceab7dd34b12814b4df553e8b"}}}}