{"action":"created","comment":{"url":"https://api.github.com/repos/jcabi/jcabi-log/pulls/comments/41177985","id":41177985,"diff_hunk":"@@ -368,6 +388,16 @@ public void write(final int data) throws IOException {\n         } else {\n             logger = LoggerFactory.getLogger(source.getClass());\n         }\n+        try {\n+            final Field fqcn = logger.getClass()\n+                .getDeclaredField(\"FQCN\");\n+            setFinalStatic(fqcn, Logger.class.getName());\n+            // @checkstyle EmptyBlockCheck (5 lines)\n+        } catch (final NoSuchFieldException ex) {\n+        } catch (final SecurityException ex) {\n+        } catch (final IllegalArgumentException ex) {","path":"src/main/java/com/jcabi/log/Logger.java","position":null,"original_position":54,"commit_id":"110764888ad247b5406c1ef85c373e59b80c47c4","original_commit_id":"9a2a054efc133dab1a8be29f1f09b8535c04d4e6","user":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"body":"@dmzaytsev @yegor256 \r\n\r\nYou just can reject the entire PR. We intentional catch and ignore these exception for non-log4j binding.","created_at":"2015-10-05T18:17:39Z","updated_at":"2015-10-05T18:17:39Z","html_url":"https://github.com/jcabi/jcabi-log/pull/65#discussion_r41177985","pull_request_url":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-log/pulls/comments/41177985"},"html":{"href":"https://github.com/jcabi/jcabi-log/pull/65#discussion_r41177985"},"pull_request":{"href":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65","id":46672349,"html_url":"https://github.com/jcabi/jcabi-log/pull/65","diff_url":"https://github.com/jcabi/jcabi-log/pull/65.diff","patch_url":"https://github.com/jcabi/jcabi-log/pull/65.patch","issue_url":"https://api.github.com/repos/jcabi/jcabi-log/issues/65","number":65,"state":"open","locked":false,"title":"Issue #60 - Getting %L parameter to work","user":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"body":"#60 \r\n\r\nThe issue isn't trivial and the PR uses hard hack (reflection). I have to even suppress the PMD.GodClass warning.\r\n\r\nHowever, it is only way I know to solve that.\r\nWe could try to add another layout (log line with %LL, for instance), but this task requires solving %L.\r\n","created_at":"2015-10-02T19:24:55Z","updated_at":"2015-10-05T18:17:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80610e2972766031888fcaa07a890767761af943","assignee":{"login":"dmzaytsev","id":9972909,"avatar_url":"https://avatars.githubusercontent.com/u/9972909?v=3","gravatar_id":"","url":"https://api.github.com/users/dmzaytsev","html_url":"https://github.com/dmzaytsev","followers_url":"https://api.github.com/users/dmzaytsev/followers","following_url":"https://api.github.com/users/dmzaytsev/following{/other_user}","gists_url":"https://api.github.com/users/dmzaytsev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmzaytsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmzaytsev/subscriptions","organizations_url":"https://api.github.com/users/dmzaytsev/orgs","repos_url":"https://api.github.com/users/dmzaytsev/repos","events_url":"https://api.github.com/users/dmzaytsev/events{/privacy}","received_events_url":"https://api.github.com/users/dmzaytsev/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65/commits","review_comments_url":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65/comments","review_comment_url":"https://api.github.com/repos/jcabi/jcabi-log/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jcabi/jcabi-log/issues/65/comments","statuses_url":"https://api.github.com/repos/jcabi/jcabi-log/statuses/110764888ad247b5406c1ef85c373e59b80c47c4","head":{"label":"pecko:issue60","ref":"issue60","sha":"110764888ad247b5406c1ef85c373e59b80c47c4","user":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"repo":{"id":43402676,"name":"jcabi-log","full_name":"pecko/jcabi-log","owner":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pecko/jcabi-log","description":"Static Wrapper of SLF4J","fork":true,"url":"https://api.github.com/repos/pecko/jcabi-log","forks_url":"https://api.github.com/repos/pecko/jcabi-log/forks","keys_url":"https://api.github.com/repos/pecko/jcabi-log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pecko/jcabi-log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pecko/jcabi-log/teams","hooks_url":"https://api.github.com/repos/pecko/jcabi-log/hooks","issue_events_url":"https://api.github.com/repos/pecko/jcabi-log/issues/events{/number}","events_url":"https://api.github.com/repos/pecko/jcabi-log/events","assignees_url":"https://api.github.com/repos/pecko/jcabi-log/assignees{/user}","branches_url":"https://api.github.com/repos/pecko/jcabi-log/branches{/branch}","tags_url":"https://api.github.com/repos/pecko/jcabi-log/tags","blobs_url":"https://api.github.com/repos/pecko/jcabi-log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pecko/jcabi-log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pecko/jcabi-log/git/refs{/sha}","trees_url":"https://api.github.com/repos/pecko/jcabi-log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pecko/jcabi-log/statuses/{sha}","languages_url":"https://api.github.com/repos/pecko/jcabi-log/languages","stargazers_url":"https://api.github.com/repos/pecko/jcabi-log/stargazers","contributors_url":"https://api.github.com/repos/pecko/jcabi-log/contributors","subscribers_url":"https://api.github.com/repos/pecko/jcabi-log/subscribers","subscription_url":"https://api.github.com/repos/pecko/jcabi-log/subscription","commits_url":"https://api.github.com/repos/pecko/jcabi-log/commits{/sha}","git_commits_url":"https://api.github.com/repos/pecko/jcabi-log/git/commits{/sha}","comments_url":"https://api.github.com/repos/pecko/jcabi-log/comments{/number}","issue_comment_url":"https://api.github.com/repos/pecko/jcabi-log/issues/comments{/number}","contents_url":"https://api.github.com/repos/pecko/jcabi-log/contents/{+path}","compare_url":"https://api.github.com/repos/pecko/jcabi-log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pecko/jcabi-log/merges","archive_url":"https://api.github.com/repos/pecko/jcabi-log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pecko/jcabi-log/downloads","issues_url":"https://api.github.com/repos/pecko/jcabi-log/issues{/number}","pulls_url":"https://api.github.com/repos/pecko/jcabi-log/pulls{/number}","milestones_url":"https://api.github.com/repos/pecko/jcabi-log/milestones{/number}","notifications_url":"https://api.github.com/repos/pecko/jcabi-log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pecko/jcabi-log/labels{/name}","releases_url":"https://api.github.com/repos/pecko/jcabi-log/releases{/id}","created_at":"2015-09-30T00:39:36Z","updated_at":"2015-09-30T00:39:37Z","pushed_at":"2015-10-05T18:04:55Z","git_url":"git://github.com/pecko/jcabi-log.git","ssh_url":"git@github.com:pecko/jcabi-log.git","clone_url":"https://github.com/pecko/jcabi-log.git","svn_url":"https://github.com/pecko/jcabi-log","homepage":"log.jcabi.com","size":3472,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jcabi:master","ref":"master","sha":"82dfe35909fdc948c80ffab2ce149e39ad0e82ab","user":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"repo":{"id":12262782,"name":"jcabi-log","full_name":"jcabi/jcabi-log","owner":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jcabi/jcabi-log","description":"Static Wrapper of SLF4J","fork":false,"url":"https://api.github.com/repos/jcabi/jcabi-log","forks_url":"https://api.github.com/repos/jcabi/jcabi-log/forks","keys_url":"https://api.github.com/repos/jcabi/jcabi-log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcabi/jcabi-log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcabi/jcabi-log/teams","hooks_url":"https://api.github.com/repos/jcabi/jcabi-log/hooks","issue_events_url":"https://api.github.com/repos/jcabi/jcabi-log/issues/events{/number}","events_url":"https://api.github.com/repos/jcabi/jcabi-log/events","assignees_url":"https://api.github.com/repos/jcabi/jcabi-log/assignees{/user}","branches_url":"https://api.github.com/repos/jcabi/jcabi-log/branches{/branch}","tags_url":"https://api.github.com/repos/jcabi/jcabi-log/tags","blobs_url":"https://api.github.com/repos/jcabi/jcabi-log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcabi/jcabi-log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcabi/jcabi-log/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcabi/jcabi-log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcabi/jcabi-log/statuses/{sha}","languages_url":"https://api.github.com/repos/jcabi/jcabi-log/languages","stargazers_url":"https://api.github.com/repos/jcabi/jcabi-log/stargazers","contributors_url":"https://api.github.com/repos/jcabi/jcabi-log/contributors","subscribers_url":"https://api.github.com/repos/jcabi/jcabi-log/subscribers","subscription_url":"https://api.github.com/repos/jcabi/jcabi-log/subscription","commits_url":"https://api.github.com/repos/jcabi/jcabi-log/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcabi/jcabi-log/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcabi/jcabi-log/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcabi/jcabi-log/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcabi/jcabi-log/contents/{+path}","compare_url":"https://api.github.com/repos/jcabi/jcabi-log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcabi/jcabi-log/merges","archive_url":"https://api.github.com/repos/jcabi/jcabi-log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcabi/jcabi-log/downloads","issues_url":"https://api.github.com/repos/jcabi/jcabi-log/issues{/number}","pulls_url":"https://api.github.com/repos/jcabi/jcabi-log/pulls{/number}","milestones_url":"https://api.github.com/repos/jcabi/jcabi-log/milestones{/number}","notifications_url":"https://api.github.com/repos/jcabi/jcabi-log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcabi/jcabi-log/labels{/name}","releases_url":"https://api.github.com/repos/jcabi/jcabi-log/releases{/id}","created_at":"2013-08-21T06:17:47Z","updated_at":"2015-10-02T15:53:00Z","pushed_at":"2015-10-05T18:04:55Z","git_url":"git://github.com/jcabi/jcabi-log.git","ssh_url":"git@github.com:jcabi/jcabi-log.git","clone_url":"https://github.com/jcabi/jcabi-log.git","svn_url":"https://github.com/jcabi/jcabi-log","homepage":"log.jcabi.com","size":3472,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":12,"forks":18,"open_issues":12,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65"},"html":{"href":"https://github.com/jcabi/jcabi-log/pull/65"},"issue":{"href":"https://api.github.com/repos/jcabi/jcabi-log/issues/65"},"comments":{"href":"https://api.github.com/repos/jcabi/jcabi-log/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/jcabi/jcabi-log/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jcabi/jcabi-log/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/jcabi/jcabi-log/statuses/110764888ad247b5406c1ef85c373e59b80c47c4"}}}}