{"action":"created","comment":{"url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/comments/63167662","id":63167662,"diff_hunk":"@@ -18,47 +18,31 @@\n \n -->\n \n-<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:xalan=\"http://xml.apache.org/xalan\" version=\"2.0\">\n+<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:xalan=\"http://xml.apache.org/xalan\" version=\"2.0\" exclude-result-prefixes=\"xalan\">\n \n   <xsl:output method=\"xml\" version=\"1.0\" encoding=\"UTF-8\" indent=\"yes\" xalan:indent-amount=\"4\" standalone=\"no\" />\n-  <xsl:strip-space elements=\"*\" />\n \n   <!-- //*[local-name()='config']/*[local-name()='supplement' and @name='default'] is an xPath's 1.0\n        way of saying of xPath's 2.0 prefix-less selector //*:config/*:supplement[@name='default']  -->\n   <xsl:template match=\"//*[local-name()='config']/*[local-name()='supplement' and @name='default']/*[local-name()='replacement' and @placeholder='LOGGERS']\">\n     <xsl:copy>\n       <xsl:apply-templates select=\"@*|node()\"/>\n-      <xsl:element name=\"logger\" namespace=\"{namespace-uri()}\">\n-        <xsl:attribute name=\"category\">org.hawkular.inventory</xsl:attribute>\n-        <xsl:element name=\"level\">\n-          <xsl:attribute name=\"name\">\n-            <xsl:text disable-output-escaping=\"yes\">${hawkular.log.inventory:INFO}</xsl:text>\n-          </xsl:attribute>\n-        </xsl:element>\n-      </xsl:element>\n-      <xsl:element name=\"logger\" namespace=\"{namespace-uri()}\">\n-        <xsl:attribute name=\"category\">org.hawkular.inventory.rest.requests</xsl:attribute>\n-        <xsl:element name=\"level\">\n-          <xsl:attribute name=\"name\">\n-            <xsl:text disable-output-escaping=\"yes\">${hawkular.log.inventory.rest.requests:INFO}</xsl:text>\n-          </xsl:attribute>\n-        </xsl:element>\n-      </xsl:element>\n-    </xsl:copy>\n-  </xsl:template>\n-\n-  <xsl:template\n-      match=\"//*[local-name()='config']/*[local-name()='subsystem']/*[local-name()='console-handler']/*[local-name()='level']\">\n-    <xsl:copy>\n-      <xsl:apply-templates select=\"@*|node()\"/>\n-      <xsl:attribute name=\"name\">DEBUG</xsl:attribute>\n+      <logger category=\"org.hawkular.inventory\">\n+        <level name=\"${{hawkular.log.inventory:INFO}}\" />\n+      </logger>\n+      <logger category=\"org.hawkular.inventory.rest.requests\">\n+        <level name=\"${{hawkular.log.inventory.rest.requests:INFO}}\" />\n+      </logger>\n+      <logger category=\"org.hawkular.inventory.rest.interceptors.AutocreateTenantRequestFilter\">\n+        <level name=\"TRACE\" />\n+      </logger>","path":"hawkular-inventory-feature-pack/src/main/xsl/subsystem-templates/hawkular-inventory-logging.xsl","position":47,"original_position":47,"commit_id":"62b360b61b7fa45d4f58c143510faf0adcf0b9da","original_commit_id":"62b360b61b7fa45d4f58c143510faf0adcf0b9da","user":{"login":"metlos","id":19999,"avatar_url":"https://avatars.githubusercontent.com/u/19999?v=3","gravatar_id":"","url":"https://api.github.com/users/metlos","html_url":"https://github.com/metlos","followers_url":"https://api.github.com/users/metlos/followers","following_url":"https://api.github.com/users/metlos/following{/other_user}","gists_url":"https://api.github.com/users/metlos/gists{/gist_id}","starred_url":"https://api.github.com/users/metlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metlos/subscriptions","organizations_url":"https://api.github.com/users/metlos/orgs","repos_url":"https://api.github.com/users/metlos/repos","events_url":"https://api.github.com/users/metlos/events{/privacy}","received_events_url":"https://api.github.com/users/metlos/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2016-05-13T11:16:10Z","updated_at":"2016-05-13T11:16:10Z","html_url":"https://github.com/hawkular/hawkular-inventory/pull/259#discussion_r63167662","pull_request_url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259","_links":{"self":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/comments/63167662"},"html":{"href":"https://github.com/hawkular/hawkular-inventory/pull/259#discussion_r63167662"},"pull_request":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259"}}},"pull_request":{"url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259","id":69789608,"html_url":"https://github.com/hawkular/hawkular-inventory/pull/259","diff_url":"https://github.com/hawkular/hawkular-inventory/pull/259.diff","patch_url":"https://github.com/hawkular/hawkular-inventory/pull/259.patch","issue_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/259","number":259,"state":"open","locked":false,"title":"HWKINVENT-181 Introduce Security SPI","user":{"login":"ppalaga","id":1826249,"avatar_url":"https://avatars.githubusercontent.com/u/1826249?v=3","gravatar_id":"","url":"https://api.github.com/users/ppalaga","html_url":"https://github.com/ppalaga","followers_url":"https://api.github.com/users/ppalaga/followers","following_url":"https://api.github.com/users/ppalaga/following{/other_user}","gists_url":"https://api.github.com/users/ppalaga/gists{/gist_id}","starred_url":"https://api.github.com/users/ppalaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppalaga/subscriptions","organizations_url":"https://api.github.com/users/ppalaga/orgs","repos_url":"https://api.github.com/users/ppalaga/repos","events_url":"https://api.github.com/users/ppalaga/events{/privacy}","received_events_url":"https://api.github.com/users/ppalaga/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-05-12T07:16:22Z","updated_at":"2016-05-13T11:16:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9267efefaee1be9cc5e52b70e937fb97227c8997","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259/commits","review_comments_url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259/comments","review_comment_url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/259/comments","statuses_url":"https://api.github.com/repos/hawkular/hawkular-inventory/statuses/62b360b61b7fa45d4f58c143510faf0adcf0b9da","head":{"label":"ppalaga:HWKINVENT-178","ref":"HWKINVENT-178","sha":"62b360b61b7fa45d4f58c143510faf0adcf0b9da","user":{"login":"ppalaga","id":1826249,"avatar_url":"https://avatars.githubusercontent.com/u/1826249?v=3","gravatar_id":"","url":"https://api.github.com/users/ppalaga","html_url":"https://github.com/ppalaga","followers_url":"https://api.github.com/users/ppalaga/followers","following_url":"https://api.github.com/users/ppalaga/following{/other_user}","gists_url":"https://api.github.com/users/ppalaga/gists{/gist_id}","starred_url":"https://api.github.com/users/ppalaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppalaga/subscriptions","organizations_url":"https://api.github.com/users/ppalaga/orgs","repos_url":"https://api.github.com/users/ppalaga/repos","events_url":"https://api.github.com/users/ppalaga/events{/privacy}","received_events_url":"https://api.github.com/users/ppalaga/received_events","type":"User","site_admin":false},"repo":{"id":30308774,"name":"hawkular-inventory","full_name":"ppalaga/hawkular-inventory","owner":{"login":"ppalaga","id":1826249,"avatar_url":"https://avatars.githubusercontent.com/u/1826249?v=3","gravatar_id":"","url":"https://api.github.com/users/ppalaga","html_url":"https://github.com/ppalaga","followers_url":"https://api.github.com/users/ppalaga/followers","following_url":"https://api.github.com/users/ppalaga/following{/other_user}","gists_url":"https://api.github.com/users/ppalaga/gists{/gist_id}","starred_url":"https://api.github.com/users/ppalaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppalaga/subscriptions","organizations_url":"https://api.github.com/users/ppalaga/orgs","repos_url":"https://api.github.com/users/ppalaga/repos","events_url":"https://api.github.com/users/ppalaga/events{/privacy}","received_events_url":"https://api.github.com/users/ppalaga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ppalaga/hawkular-inventory","description":"Inventory part of Hawkular - basically a registry for all the things","fork":true,"url":"https://api.github.com/repos/ppalaga/hawkular-inventory","forks_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/forks","keys_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/teams","hooks_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/hooks","issue_events_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/issues/events{/number}","events_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/events","assignees_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/assignees{/user}","branches_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/branches{/branch}","tags_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/tags","blobs_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/statuses/{sha}","languages_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/languages","stargazers_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/stargazers","contributors_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/contributors","subscribers_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/subscribers","subscription_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/subscription","commits_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/contents/{+path}","compare_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/merges","archive_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/downloads","issues_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/issues{/number}","pulls_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/pulls{/number}","milestones_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/milestones{/number}","notifications_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/labels{/name}","releases_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/releases{/id}","deployments_url":"https://api.github.com/repos/ppalaga/hawkular-inventory/deployments","created_at":"2015-02-04T16:33:23Z","updated_at":"2015-02-04T16:33:23Z","pushed_at":"2016-05-13T10:24:52Z","git_url":"git://github.com/ppalaga/hawkular-inventory.git","ssh_url":"git@github.com:ppalaga/hawkular-inventory.git","clone_url":"https://github.com/ppalaga/hawkular-inventory.git","svn_url":"https://github.com/ppalaga/hawkular-inventory","homepage":null,"size":3920,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hawkular:master","ref":"master","sha":"1e53b2184130dcb62197412853fd5078327d3f84","user":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"repo":{"id":29915222,"name":"hawkular-inventory","full_name":"hawkular/hawkular-inventory","owner":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hawkular/hawkular-inventory","description":"Inventory part of Hawkular - basically a registry for all the things","fork":false,"url":"https://api.github.com/repos/hawkular/hawkular-inventory","forks_url":"https://api.github.com/repos/hawkular/hawkular-inventory/forks","keys_url":"https://api.github.com/repos/hawkular/hawkular-inventory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hawkular/hawkular-inventory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hawkular/hawkular-inventory/teams","hooks_url":"https://api.github.com/repos/hawkular/hawkular-inventory/hooks","issue_events_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/events{/number}","events_url":"https://api.github.com/repos/hawkular/hawkular-inventory/events","assignees_url":"https://api.github.com/repos/hawkular/hawkular-inventory/assignees{/user}","branches_url":"https://api.github.com/repos/hawkular/hawkular-inventory/branches{/branch}","tags_url":"https://api.github.com/repos/hawkular/hawkular-inventory/tags","blobs_url":"https://api.github.com/repos/hawkular/hawkular-inventory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hawkular/hawkular-inventory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hawkular/hawkular-inventory/git/refs{/sha}","trees_url":"https://api.github.com/repos/hawkular/hawkular-inventory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hawkular/hawkular-inventory/statuses/{sha}","languages_url":"https://api.github.com/repos/hawkular/hawkular-inventory/languages","stargazers_url":"https://api.github.com/repos/hawkular/hawkular-inventory/stargazers","contributors_url":"https://api.github.com/repos/hawkular/hawkular-inventory/contributors","subscribers_url":"https://api.github.com/repos/hawkular/hawkular-inventory/subscribers","subscription_url":"https://api.github.com/repos/hawkular/hawkular-inventory/subscription","commits_url":"https://api.github.com/repos/hawkular/hawkular-inventory/commits{/sha}","git_commits_url":"https://api.github.com/repos/hawkular/hawkular-inventory/git/commits{/sha}","comments_url":"https://api.github.com/repos/hawkular/hawkular-inventory/comments{/number}","issue_comment_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/comments{/number}","contents_url":"https://api.github.com/repos/hawkular/hawkular-inventory/contents/{+path}","compare_url":"https://api.github.com/repos/hawkular/hawkular-inventory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hawkular/hawkular-inventory/merges","archive_url":"https://api.github.com/repos/hawkular/hawkular-inventory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hawkular/hawkular-inventory/downloads","issues_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues{/number}","pulls_url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls{/number}","milestones_url":"https://api.github.com/repos/hawkular/hawkular-inventory/milestones{/number}","notifications_url":"https://api.github.com/repos/hawkular/hawkular-inventory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hawkular/hawkular-inventory/labels{/name}","releases_url":"https://api.github.com/repos/hawkular/hawkular-inventory/releases{/id}","deployments_url":"https://api.github.com/repos/hawkular/hawkular-inventory/deployments","created_at":"2015-01-27T13:27:01Z","updated_at":"2016-01-20T22:58:55Z","pushed_at":"2016-05-13T10:24:53Z","git_url":"git://github.com/hawkular/hawkular-inventory.git","ssh_url":"git@github.com:hawkular/hawkular-inventory.git","clone_url":"https://github.com/hawkular/hawkular-inventory.git","svn_url":"https://github.com/hawkular/hawkular-inventory","homepage":null,"size":4061,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":2,"forks":20,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259"},"html":{"href":"https://github.com/hawkular/hawkular-inventory/pull/259"},"issue":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/259"},"comments":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/hawkular/hawkular-inventory/statuses/62b360b61b7fa45d4f58c143510faf0adcf0b9da"}}}}