Author: mattsicker Date: Sun Mar 16 23:35:15 2014 New Revision: 1578182 URL: http://svn.apache.org/r1578182 Log: Add more info to logging separation documentation.
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/logsep.xml Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/logsep.xml URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/logsep.xml?rev=1578182&r1=1578181&r2=1578182&view=diff ============================================================================== --- logging/log4j/log4j2/trunk/src/site/xdoc/manual/logsep.xml (original) +++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/logsep.xml Sun Mar 16 23:35:15 2014 @@ -92,17 +92,17 @@ </li> <li> Follow the <a href="webapp.html">instructions to initialize Log4j 2 in a web application</a> and set - the system property "Log4jContextSelector" to - "org.apache.logging.log4j.core.selector.JNDIContextSelector." This will cause the container to - use JNDI to locate each web application's <code>LoggerContext</code>. Be sure to set the - <code>isLog4jContextSelectorNamed</code> context parameter to <code>true</code> and also set the + the system property or servlet context parameter <code>Log4jContextSelector</code> to + <kbd>org.apache.logging.log4j.core.selector.JNDIContextSelector</kbd>. This will cause the container + to use JNDI to locate each web application's <code>LoggerContext</code>. Be sure to set the + <code>isLog4jContextSelectorNamed</code> context parameter to <kbd>true</kbd> and also set the <code>log4jContextName</code> and <code>log4jConfiguration</code> context parameters. </li> </ol> </p> <p> The exact method for setting system properties depends on the container. For Tomcat, edit - $CATALINA_HOME/conf/catalina.properties. Consult the documentation for other web containers. + <code>$CATALINA_HOME/conf/catalina.properties</code>. Consult the documentation for other web containers. </p> </subsection> </section>