directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r836739 - in /websites/staging/directory/trunk/content: ./ apacheds/basic-ug/1.4.3-adding-partition.html apacheds/basic-ug/1.4.4-configure-logging.html
Date Wed, 31 Oct 2012 15:15:20 GMT
Author: buildbot
Date: Wed Oct 31 15:15:20 2012
New Revision: 836739

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.3-adding-partition.html
    websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.4-configure-logging.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Oct 31 15:15:20 2012
@@ -1 +1 @@
-1404181
+1404192

Modified: websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.3-adding-partition.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.3-adding-partition.html
(original)
+++ websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.3-adding-partition.html
Wed Oct 31 15:15:20 2012
@@ -147,7 +147,7 @@
 <p>For the examples in the following sections, we want to add a partition with the
suffix "o=sevenSeas". This requires editing of the configuration, and injecting a first entry,
associated with the root of this partition (here, "o=sevenseas"). This can be done using <em>Apache
Directory Studio</em>. Open the server configuration :</p>
 <p><img alt="Studio Apacheds Configuration" src="images/studio-apacheds-configuration1.png"
/></p>
 <p>and select the <em>Partitions</em> tab :</p>
-<p><img alt="Studio Apacheds Partitions Configuration" src="images:studio-partitions-configuration.png"
/></p>
+<p><img alt="Studio Apacheds Partitions Configuration" src="images/studio-partitions-configuration.png"
/></p>
 <p>Add another jdbmPartition element for the sevenSeas partition, just below the <em>example</em>
partition:</p>
 <p><img alt="SevenSeas Partition Creation" src="images/sevenseas-partition-creation.png"
/></p>
 <p>As you can see, we have modified the <em>ID</em> and the <em>Suffix</em>,
all the other parameters remaining to their default values.</p>
@@ -204,55 +204,54 @@
 
 <h2 id="more-configuration-options-for-a-jdbm-partition">More configuration options
for a JDBM partition</h2>
 <p>Here is a list of the used attributes, their default values and meaning :</p>
-<div class="table-wrap">
-    <table class="confluenceTable">
-        <tbody>
-            <tr>
-                <th class="confluenceTh"> Property </th>
-                <th class="confluenceTh"> Description </th>
-                <th class="confluenceTh"> Default value </th>
-                <th class="confluenceTh"> Required </th>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> ads-partitionId </td>
-                <td class="confluenceTd"> uniquely identifies the partition </td>
-                <td class="confluenceTd"> N/A </td>
-                <td class="confluenceTd"> yes </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> ads-partitionSuffix </td>
-                <td class="confluenceTd"> a DN ("dc=example, dc=com", for instance)
</td>
-                <td class="confluenceTd"> N/A </td>
-                <td class="confluenceTd"> yes </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> ads-contextEntry </td>
-                <td class="confluenceTd"> The context entry </td>
-                <td class="confluenceTd"> Will be automatically deduced <br/>
-                    if no value is provided </td>
-                <td class="confluenceTd"> no </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> optimizerEnabled </td>
-                <td class="confluenceTd"> Tells the server to turn on the optimizer</td>
-                <td class="confluenceTd"> true </td>
-                <td class="confluenceTd"> no </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> ads-partitionCacheSize </td>
-                <td class="confluenceTd"> The cache size (only for JDBM partitions)
</td>
-                <td class="confluenceTd"> -1 (no cache) </td>
-                <td class="confluenceTd"> no </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> ads-partitionSyncOnWrite </td>
-                <td class="confluenceTd"> sync disks on every write operation </td>
-                <td class="confluenceTd"> true </td>
-                <td class="confluenceTd"> no </td>
-            </tr>
-        </tbody>
-    </table>
-</div>
+<table>
+<thead>
+<tr>
+<th align="center">Property</th>
+<th align="center">Description</th>
+<th align="center">Default Value</th>
+<th align="center">Required</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td align="center">ads-partitionId</td>
+<td align="center">Uniquely identifies the partition</td>
+<td align="center">N/A</td>
+<td align="center">yes</td>
+</tr>
+<tr>
+<td align="center">ads-partitionSuffix</td>
+<td align="center">A DN ("dc=example, dc=com", for instance</td>
+<td align="center">N/A</td>
+<td align="center">yes</td>
+</tr>
+<tr>
+<td align="center">ads-contextEntry</td>
+<td align="center">The context entry</td>
+<td align="center">Will be automatically deduced if no value is provided</td>
+<td align="center">no</td>
+</tr>
+<tr>
+<td align="center">ads-optimizerEnabled</td>
+<td align="center">Tells the server to turn on the optimizer</td>
+<td align="center">true</td>
+<td align="center">no</td>
+</tr>
+<tr>
+<td align="center">ads-partitionCacheSize</td>
+<td align="center">The cache size (only for JDBM partitions)</td>
+<td align="center">-1 (no cache)</td>
+<td align="center">no</td>
+</tr>
+<tr>
+<td align="center">ads-partitionSyncOnWrite</td>
+<td align="center">Syncs disks on every write operation</td>
+<td align="center">true</td>
+<td align="center">no</td>
+</tr>
+</tbody>
+</table>
 
 
     <div class="nav">

Modified: websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.4-configure-logging.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.4-configure-logging.html
(original)
+++ websites/staging/directory/trunk/content/apacheds/basic-ug/1.4.4-configure-logging.html
Wed Oct 31 15:15:20 2012
@@ -182,38 +182,37 @@ The name of the <em>RollingFileAppender<
 
 
 <p>In this file "R" is configured like this:</p>
-<div class="table-wrap">
-    <table class="confluenceTable">
-        <tbody>
-            <tr>
-                <th class="confluenceTh"> Property name </th>
-                <th class="confluenceTh"> Value in file above </th>
-                <th class="confluenceTh"> Meaning </th>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> File </td>
-                <td class="confluenceTd"> apacheds-rolling.log </td>
-                <td class="confluenceTd"> path to the output log file, in our case
relative to <em>var/log</em> </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> MaxFileSize </td>
-                <td class="confluenceTd"> 1024KB </td>
-                <td class="confluenceTd"> maximum size that the output file is allowed
to reach before being rolled over to backup files </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> MaxBackupIndex </td>
-                <td class="confluenceTd"> 5 </td>
-                <td class="confluenceTd"> number of backup files kept </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> layout.ConversionPattern </td>
-                <td class="confluenceTd"> [%d{HH:mm:ss}] %p [%c] - %m%n </td>
-                <td class="confluenceTd"> format string for logging events </td>
-            </tr>
-        </tbody>
-    </table>
-</div>
-
+<table>
+<thead>
+<tr>
+<th align="center">Property name</th>
+<th align="center">Value in file above</th>
+<th>Meaning</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td align="center">File</td>
+<td align="center">apacheds-rolling.log</td>
+<td>Path to the output log file, in our case relative to <em>var/log</em></td>
+</tr>
+<tr>
+<td align="center">MaxFileSize</td>
+<td align="center">1024KB</td>
+<td>Maximum size that the output file is allowed to reach before being rolled over
to backup files</td>
+</tr>
+<tr>
+<td align="center">MaxBackupIndex</td>
+<td align="center">5</td>
+<td>Number of backup files kept</td>
+</tr>
+<tr>
+<td align="center">layout.ConversionPattern</td>
+<td align="center">[%d{HH:mm:ss}] %p [%c] - %m%n</td>
+<td>Format string for logging events</td>
+</tr>
+</tbody>
+</table>
 <p>If the default logging does not meet your requirements, you can easily adjust the
configuration to your needs.</p>
 <h2 id="adjusting-logging-to-your-needs">Adjusting logging to your needs</h2>
 <h3 id="log-file-location-where-the-log-files-are-placed">Log file location (where
the log files are placed)</h3>
@@ -233,37 +232,36 @@ The name of the <em>RollingFileAppender<
 <p>On Windows you can use the configuration wizard for the service as shown in the
screenshot above. To adjust the log path you have to adjust the values of <em>Redirect
Stdout</em> and <em>Redirect Stderror</em></p>
 <h3 id="log-level-how-detailed-the-logs-are">Log level (how detailed the logs are)</h3>
 <p>The following log levels from log4j are used for messages within ApacheDS:</p>
-<div class="table-wrap">
-    <table class="confluenceTable">
-        <tbody>
-            <tr>
-                <th class="confluenceTh"> Level </th>
-                <th class="confluenceTh"> Description from log4j documentation </th>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> DEBUG </td>
-                <td class="confluenceTd"> designates fine-grained informational events
that are most useful to debug an application </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> INFO</td>
-                <td class="confluenceTd"> designates informational messages that highlight
the progress of the application at coarse-grained level </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> WARN</td>
-                <td class="confluenceTd"> designates potentially harmful situations
</td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> ERROR</td>
-                <td class="confluenceTd"> designates error events that might still
allow the application to continue running </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> FATAL </td>
-                <td class="confluenceTd"> designates very severe error events that
will presumably lead the application to abort </td>
-            </tr>
-        </tbody>
-    </table>
-</div>
-
+<table>
+<thead>
+<tr>
+<th align="center">Level</th>
+<th>Description from log4j documentation</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td align="center">DEBUG</td>
+<td>Designates fine-grained informational events that are most useful to debug an application</td>
+</tr>
+<tr>
+<td align="center">INFO</td>
+<td>Designates informational messages that highlight the progress of the application
at coarse-grained level</td>
+</tr>
+<tr>
+<td align="center">WARN</td>
+<td>Designates potentially harmful situations</td>
+</tr>
+<tr>
+<td align="center">ERROR</td>
+<td>Designates error events that might still allow the application to continue running</td>
+</tr>
+<tr>
+<td align="center">FATAL</td>
+<td>Designates very severe error events that will presumably lead the application to
abort</td>
+</tr>
+</tbody>
+</table>
 <p>The default (global) log level in the configuration is <em>WARN</em>.
All messages of level WARN and more severe (ERROR, FATAL) are written to the rolling log file.
The easiest way to get finer log messages is to change it like this</p>
 <div class="codehilite"><pre><span class="n">log4j</span><span
class="o">.</span><span class="n">rootCategory</span><span class="o">=</span><span
class="n">DEBUG</span><span class="p">,</span> <span class="n">stdout</span><span
class="p">,</span> <span class="n">R</span>
 <span class="o">...</span>
@@ -305,37 +303,36 @@ The name of the <em>RollingFileAppender<
 
 
 <p>The pattern uses the following conversion characters:</p>
-<div class="table-wrap">
-    <table class="confluenceTable">
-        <tbody>
-            <tr>
-                <th class="confluenceTh"> Character </th>
-                <th class="confluenceTh"> Outputs </th>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> %d </td>
-                <td class="confluenceTd"> date of the logging event in the given format.
like "12:29:05" for %d{HH:mm:ss}  </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> %p </td>
-                <td class="confluenceTd"> priority (level) of the logging event, like
"INFO" or "WARN" </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> %c </td>
-                <td class="confluenceTd"> category of the logging event, like "org.apache.directory.server.Service"
</td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> %m </td>
-                <td class="confluenceTd"> application supplied message associated with
the logging event </td>
-            </tr>
-            <tr>
-                <td class="confluenceTd"> %n </td>
-                <td class="confluenceTd"> platform dependent line separator </td>
-            </tr>
-        </tbody>
-    </table>
-</div>
-
+<table>
+<thead>
+<tr>
+<th align="center">Character</th>
+<th>Output</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td align="center">%d</td>
+<td>Date of the logging event in the given format. like "12:29:05" for %d{HH:mm:ss}</td>
+</tr>
+<tr>
+<td align="center">%p</td>
+<td>Priority (level) of the logging event, like "INFO" or "WARN"</td>
+</tr>
+<tr>
+<td align="center">%c</td>
+<td>Category of the logging event, like "org.apache.directory.server.Service"</td>
+</tr>
+<tr>
+<td align="center">%m</td>
+<td>Application supplied message associated with the logging event</td>
+</tr>
+<tr>
+<td align="center">%n</td>
+<td>Platform dependent line separator</td>
+</tr>
+</tbody>
+</table>
 <p>The <a href="http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html">javadoc
of log4j</a> contains a table with all valid %-characters and their meaning.</p>
 <p>Simple adjust the pattern in the <em>log4j.properties file</em> to get
the log format of your choice, for instance</p>
 <div class="codehilite"><pre><span class="n">log4j</span><span
class="o">.</span><span class="n">appender</span><span class="o">.</span><span
class="n">R</span><span class="o">.</span><span class="n">layout</span><span
class="o">.</span><span class="n">ConversionPattern</span><span class="o">=</span><span
class="p">[</span><span class="nv">%d</span><span class="p">{</span><span
class="n">dd</span><span class="o">.</span><span class="n">MM</span><span
class="o">.</span><span class="n">yyyy</span> <span class="n">HH:mm:ss</span><span
class="p">}]</span> <span class="nv">%p:</span> <span class="nv">%c</span><span
class="p">{</span><span class="mi">1</span><span class="p">}</span><span
class="o">.</span><span class="nv">%M</span><span class="p">()</span>
<span class="o">-</span> <span class="nv">%m%n</span>



Mime
View raw message