You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/07/11 17:27:31 UTC
svn commit: r1502246 - /tomcat/trunk/webapps/docs/logging.xml
Author: markt
Date: Thu Jul 11 15:27:31 2013
New Revision: 1502246
URL: http://svn.apache.org/r1502246
Log:
Add some clarification
Modified:
tomcat/trunk/webapps/docs/logging.xml
Modified: tomcat/trunk/webapps/docs/logging.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/logging.xml?rev=1502246&r1=1502245&r2=1502246&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/logging.xml (original)
+++ tomcat/trunk/webapps/docs/logging.xml Thu Jul 11 15:27:31 2013
@@ -495,9 +495,10 @@ log4j.logger.org.apache.catalina.core.Co
</ul>
</li>
- <li><p>If you are running Tomcat with separate $CATALINA_HOME and
- $CATALINA_BASE and want to configure to use log4j in a single
- $CATALINA_BASE only:</p>
+ <li><p>If you are running Tomcat with separate
+ <code>$CATALINA_HOME</code> and <code>$CATALINA_BASE</code> and want to
+ configure to use log4j in a single <code>$CATALINA_BASE</code> only:</p>
+
<ul>
<li>Create <code>$CATALINA_BASE/bin</code> and
<code>$CATALINA_BASE/lib</code> directories if they do not exist.
@@ -513,6 +514,14 @@ log4j.logger.org.apache.catalina.core.Co
<code>$CATALINA_BASE/conf/catalina.policy</code> file to adjust
it to using a different copy of tomcat-juli.jar.</li>
</ul>
+
+ <p>Note: This works because libraries, if they exist in
+ <code>$CATALINA_BASE</code>, are loaded in preference to the same
+ library in <code>$CATALINA_HOME</code>.</p>
+
+ <p>Note: tomcat-juli.jar is loaded from <code>$CATALINA_BASE</code>/bin
+ not <code>$CATALINA_BASE</code>/lib as it is loaded as part of the
+ bootstrap process and all the bootstrap classes are loaded from bin.</p>
</li>
<li><p>Delete <code>$CATALINA_BASE/conf/logging.properties</code> to
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org