You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2016/04/25 09:03:39 UTC
svn commit: r986553 - in /websites/staging/sling/trunk/content: ./
documentation/bundles/log-tracers.html
Author: buildbot
Date: Mon Apr 25 07:03:38 2016
New Revision: 986553
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/log-tracers.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr 25 07:03:38 2016
@@ -1 +1 @@
-1740764
+1740765
Modified: websites/staging/sling/trunk/content/documentation/bundles/log-tracers.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/log-tracers.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/log-tracers.html Mon Apr 25 07:03:38 2016
@@ -157,8 +157,18 @@ These can for now be configured as part
</pre></div>
-<p>Currently following attributes are support
-* <code>level</code> - Either of TRACE, DEBUG, INFO, WARN, ERROR</p>
+<p>Currently following attributes are support</p>
+<ul>
+<li><code>level</code> - Either of TRACE, DEBUG, INFO, WARN, ERROR</li>
+<li><code>caller</code> - Used to dump stacktrace of caller. It can have following value (<em>since 1.0.0</em>, <a href="https://issues.apache.org/jira/browse/SLING-5505">SLING-5505</a>)<ul>
+<li><code>true</code> - Complete call stack for that logger would be included</li>
+<li><code><depth></code> - Call stack upto depth (integer) would be included e.g. caller=5</li>
+</ul>
+</li>
+<li><code>caller-exclude-filter</code> - (optional) - '|' separated package prefixes which should not be
+ included in the output. e.g. <em>org.apache.jackrabbit.oak.query.QueryImpl;caller=28;caller-exclude-filter="org.eclipse|org.felix"</em>
+ this would exclude eclipse and felix packages from the resulting stack</li>
+</ul>
<h3 id="performance-impact">Performance Impact<a class="headerlink" href="#performance-impact" title="Permanent link">¶</a></h3>
<p>Tracer makes use of <a href="http://logback.qos.ch/manual/filters.html#TurboFilter">Logback TuboFilter</a> to intercept the logging calls and only enable them for
those which are enabled via tracer config for the request. The filter is only registered for the
@@ -262,7 +272,7 @@ and route them to normal logging on serv
<span class="nt"></dependency></span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1740764 by chetanm on Mon, 25 Apr 2016 06:52:15 +0000
+ Rev. 1740765 by chetanm on Mon, 25 Apr 2016 07:03:26 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project