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/10/24 11:27:08 UTC
svn commit: r999852 - in /websites/staging/sling/trunk/content: ./
documentation/development/logging.html
Author: buildbot
Date: Mon Oct 24 11:27:08 2016
New Revision: 999852
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/development/logging.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Oct 24 11:27:08 2016
@@ -1 +1 @@
-1766382
+1766383
Modified: websites/staging/sling/trunk/content/documentation/development/logging.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/logging.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/logging.html Mon Oct 24 11:27:08 2016
@@ -209,11 +209,16 @@ slf4j-api:1.7.15. See <a href="https://i
It generates link to all active log files which can be used to see there content
from within the browser. The url used is like</p>
<p><code>http://localhost:8080/system/console/slinglog/tailer.txt?tail=1000&grep=lucene&name=%2Flogs%2Ferror.log</code></p>
-<p>It supports following parameters
-<em> <code>name</code> - Appender name like <em>/logs/error.log</em></em> <code>tail</code> - Number of lines to include in dump. -1 to include whole file
-* <code>grep</code> - Filter the log lines based on <code>grep</code> value which can be
- * Simple string phrase - In this case search is done in case insensitive way via String.contains
- * regex - In this case the search would be done via regex pattern matching</p>
+<p>It supports following parameters</p>
+<ul>
+<li><code>name</code> - Appender name like <em>/logs/error.log</em></li>
+<li><code>tail</code> - Number of lines to include in dump. -1 to include whole file</li>
+<li><code>grep</code> - Filter the log lines based on <code>grep</code> value which can be<ul>
+<li>Simple string phrase - In this case search is done in case insensitive way via String.contains</li>
+<li>regex - In this case the search would be done via regex pattern matching</li>
+</ul>
+</li>
+</ul>
<h2 id="initial-configuration">Initial Configuration<a class="headerlink" href="#initial-configuration" title="Permanent link">¶</a></h2>
<p>The <code>org.apache.sling.commons.log</code> bundle gets its initial configuration from the following <code>BundleContext</code> properties:</p>
<table class="table">
@@ -772,7 +777,7 @@ To get complete log support working you
<div class="codehilite"><pre> <span class="n">java</span> <span class="o">-</span><span class="n">jar</span> <span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">sling</span><span class="p">.</span><span class="n">launchpad</span><span class="o">-</span><span class="n">XXX</span><span class="o">-</span><span class="n">standalone</span><span class="p">.</span><span class="n">jar</span> <span class="o">-</span><span class="n">Dorg</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">sling</span><span class="p">.</span><span class="n">commons</span><span class="p">.</span><span class="nb">log</span><span class="p">.</span><span class="n">configurationFile</span><span class="p">=</span><span class="o">/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">logback</span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1766382 by chetanm on Mon, 24 Oct 2016 11:22:12 +0000
+ Rev. 1766383 by chetanm on Mon, 24 Oct 2016 11:26:59 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project