Author: mattsicker
Date: Tue May 27 00:43:16 2014
New Revision: 1597682
URL: http://svn.apache.org/r1597682
Log:
Add XSD and fix HTML.
Modified:
logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml
URL:
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml?rev=1597682&r1=1597681&r2=1597682&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml Tue May 27
00:43:16 2014
@@ -16,7 +16,9 @@
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Extending Log4j 2</title>
<author email="[email protected]">Ralph Goers</author>
@@ -41,18 +43,22 @@
</p>
<p>
Applications may change the LoggerContextFactory that will be
used by
- <ol>
- <li>Implementing a new LoggerContextFactory and creating a
log4j-provider.xml to reference it making
- sure that it has the highest priority.</li>
- <li>Create a new log4j-provider.xml and configure it with the
desired LoggerContextFactory making
- sure that it has the highest priority.</li>
- <li>Setting the system property "log4j2.loggerContextFactory"
to the name of the LoggerContextFactory
- class to use.</li>
- <li>Setting the property "log4j2.loggerContextFactory" in a
properties file named
- "log4j2.LogManager.properties" to the name of the
LoggerContextFactory class to use. The properties
- file must be on the classpath.</li>
- </ol>
</p>
+ <ol>
+ <li>Implementing a new LoggerContextFactory and creating a
log4j-provider.xml to reference it making
+ sure that it has the highest priority.
+ </li>
+ <li>Create a new log4j-provider.xml and configure it with the
desired LoggerContextFactory making
+ sure that it has the highest priority.
+ </li>
+ <li>Setting the system property "log4j2.loggerContextFactory" to
the name of the LoggerContextFactory
+ class to use.
+ </li>
+ <li>Setting the property "log4j2.loggerContextFactory" in a
properties file named
+ "log4j2.LogManager.properties" to the name of the
LoggerContextFactory class to use. The properties
+ file must be on the classpath.
+ </li>
+ </ol>
</subsection>
<subsection name="ContextSelector">
<p>
@@ -65,15 +71,15 @@
</p>
<p>
Log4j provides three ContextSelectors:
- <dl>
- <dt>BasicContextSelector</dt>
- <dd>Uses either a LoggerContext that has been stored in a
ThreadLocal or a common LoggerContext.</dd>
- <dt>ClassLoaderContextSelector</dt>
- <dd>Associates LoggerContexts with the ClassLoader that
created the caller of the getLogger call.</dd>
- <dt>JNDIContextSelector</dt>
- <dd>Locates the LoggerContext by querying JNDI.</dd>
- </dl>
</p>
+ <dl>
+ <dt>BasicContextSelector</dt>
+ <dd>Uses either a LoggerContext that has been stored in a
ThreadLocal or a common LoggerContext.</dd>
+ <dt>ClassLoaderContextSelector</dt>
+ <dd>Associates LoggerContexts with the ClassLoader that created
the caller of the getLogger call.</dd>
+ <dt>JNDIContextSelector</dt>
+ <dd>Locates the LoggerContext by querying JNDI.</dd>
+ </dl>
</subsection>
<subsection name="ConfigurationFactory">
<p>