You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2020/06/12 08:39:12 UTC

[sling-samples] branch master updated: Configure internal requests debugging

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new bf253ae  Configure internal requests debugging
bf253ae is described below

commit bf253ae755ceba5357c1834430d33810e5c10a8d
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Jun 12 10:39:01 2020 +0200

    Configure internal requests debugging
---
 .../resources/features/feature-graphql-example-website.json  | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json b/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json
index 1874f74..c5c1d99 100644
--- a/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json
+++ b/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json
@@ -29,6 +29,18 @@
   "configurations":{
     "org.apache.sling.servlets.get.DefaultGetServlet" : {
       "aliases" : [ "json:rawjson" ]
+    },
+    "org.apache.sling.commons.log.LogManager.factory.config~debug.log" : {
+      "org.apache.sling.commons.log.file": "logs/debug.log",
+      "org.apache.sling.commons.log.level": "DEBUG",
+      "org.apache.sling.commons.log.names":
+        [
+          "org.apache.sling.engine",
+          "org.apache.sling.servlet",
+          "org.apache.sling.servlets",
+          "org.apache.sling.servlethelpers.internalrequests"
+        ],
+      "org.apache.sling.commons.log.pattern": "%-5level [%-50logger{50}] %message ## %mdc{sling.InternalRequest} %n"
     }
   },
   "repoinit:TEXT|true":[