sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1740765 - /sling/site/trunk/content/documentation/bundles/log-tracers.mdtext
Date Mon, 25 Apr 2016 07:03:27 GMT
Author: chetanm
Date: Mon Apr 25 07:03:26 2016
New Revision: 1740765

URL: http://svn.apache.org/viewvc?rev=1740765&view=rev
Log:
SLING-5505 - Allow recording of caller stacktrace with the logs

Modified:
    sling/site/trunk/content/documentation/bundles/log-tracers.mdtext

Modified: sling/site/trunk/content/documentation/bundles/log-tracers.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/log-tracers.mdtext?rev=1740765&r1=1740764&r2=1740765&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/log-tracers.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/log-tracers.mdtext Mon Apr 25 07:03:26
2016
@@ -47,7 +47,14 @@ Where the config is of following format
     attributes := attributeName '=' attributeValue
 
 Currently following attributes are support
+
 * `level` - Either of TRACE, DEBUG, INFO, WARN, ERROR
+* `caller` - Used to dump stacktrace of caller. It can have following value (_since 1.0.0_,
[SLING-5505][SLING-5505])
+    * `true` - Complete call stack for that logger would be included
+    * `<depth>` - Call stack upto depth (integer) would be included e.g. caller=5
+* `caller-exclude-filter` - (optional) - '|' separated package prefixes which should not
be 
+   included in the output. e.g. _org.apache.jackrabbit.oak.query.QueryImpl;caller=28;caller-exclude-filter="org.eclipse|org.felix"_

+   this would exclude eclipse and felix packages from the resulting stack
 
 ### Performance Impact
 
@@ -169,4 +176,5 @@ Download the bundle from [here][5] or us
 [3]: https://sling.apache.org/apidocs/sling5/org/apache/sling/api/request/RequestProgressTracker.html
 [4]: http://dev.day.com/content/ddc/blog/2008/06/requestprogresstracker.html
 [SLING-4739]: https://issues.apache.org/jira/browse/SLING-4739
+[SLING-5505]: https://issues.apache.org/jira/browse/SLING-5505
 [5]: http://sling.apache.org/downloads.cgi



Mime
View raw message