directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r870957 - in /websites/staging/directory/trunk/content: ./ apacheds/advanced-ug/5.2-start-stop.html apacheds/advanced-ug/5.3-logs.html
Date Wed, 24 Jul 2013 09:07:52 GMT
Author: buildbot
Date: Wed Jul 24 09:07:52 2013
New Revision: 870957

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html
    websites/staging/directory/trunk/content/apacheds/advanced-ug/5.3-logs.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jul 24 09:07:52 2013
@@ -1 +1 @@
-1506443
+1506452

Modified: websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/5.2-start-stop.html Wed
Jul 24 09:07:52 2013
@@ -137,7 +137,7 @@
     </div>
 
 
-<h1 id="51-starting-and-stopping-the-server">5.1 - Starting and Stopping the server</h1>
+<h1 id="52-starting-and-stopping-the-server">5.2 - Starting and Stopping the server</h1>
 <p>// To be completed</p>
 
 

Modified: websites/staging/directory/trunk/content/apacheds/advanced-ug/5.3-logs.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/5.3-logs.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/5.3-logs.html Wed Jul 24
09:07:52 2013
@@ -137,9 +137,11 @@
     </div>
 
 
-<h1 id="51-logs">5.1 - Logs</h1>
-<p>We use SLF4J as a facade for logs, and Log4J in the standalone server. </p>
-<p>The logs can be configured by modifiying the log4j.properties file which can be
found in the <em>conf</em> directory (see the previous chapter 5.1). Here is the
Log4J configuration that comes with ApacheDS:</p>
+<h1 id="53-logs">5.3 - Logs</h1>
+<h2 id="531-logs-overview">5.3.1 Logs overview</h2>
+<p>ApacheDS internally uses SLF4J as a facade for logs and Log4J is bundled in the
standalone ApacheDS distributions. </p>
+<p>Logs can be configured by modifiying the <em><strong>log4j.properties</strong></em>
file which can be found in the <em><strong>conf</strong></em> directory
of the server instance (see the previous chapter "<a href="5.1-layout.html">5.1 - Layout</a>").</p>
+<p>Here is the Log4J configuration that comes with ApacheDS:</p>
 <div class="codehilite"><pre>#############################################################################
 #    Licensed to the Apache Software Foundation (ASF) under one or more
 #    contributor license agreements.  See the NOTICE file distributed with
@@ -189,6 +191,25 @@ log4j.logger.org.apache.mina=FATAL
 </pre></div>
 
 
+<h2 id="532-default-log-level">5.3.2 Default log level</h2>
+<p>By default, ApacheDS ships with a default log level set to <strong>WARN</strong>
as indicated in the first line of the <em><strong>log4j.properties</strong></em>
file:</p>
+<div class="codehilite"><pre>log4j.rootCategory=WARN, R, stdout
+</pre></div>
+
+
+<p>This value can be modified to any of the seven log levels supported by Log4J:</p>
+<p>|| Level || Usage ||
+| <em><strong>OFF</strong></em> | The <em>OFF</em> has
the highest possible rank and is intended to turn off logging. |
+| <em><strong>FATAL</strong></em> | The <em>FATAL</em>
level designates very severe error events that will presumably lead the application to abort.
|
+| <em><strong>ERROR</strong></em> | The <em>ERROR</em>
level designates error events that might still allow the application to continue running.
|
+| <em><strong>WARN</strong></em> | The <em>WARN</em>
level designates potentially harmful situations. |
+| <em><strong>INFO</strong></em> | The <em>INFO</em>
level designates informational messages that highlight the progress of the application at
coarse-grained level. |
+| <em><strong>DEBUG</strong></em> | The <em>DEBUG</em>
Level designates fine-grained informational events that are most useful to debug an application.
|
+| <em><strong>TRACE</strong></em> | The <em>TRACE</em>
Level designates finer-grained informational events than the DEBUG. |</p>
+<p>Please refer to the <a href="http://logging.apache.org/log4j/1.2/manual.html"><strong>Log4J
Manual</strong></a> for more details.</p>
+<h2 id="532-apacheds-specific-loggers">5.3.2 ApacheDS specific loggers</h2>
+
+
     <div class="nav">
         <div class="nav_prev">
         



Mime
View raw message