You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2006/10/27 22:43:42 UTC

svn commit: r468531 - /xml/security/tags/J_1_4_RC2a/doc/site/src/documentation/content/xdocs/Java/faq.xml

Author: mullan
Date: Fri Oct 27 13:43:41 2006
New Revision: 468531

URL: http://svn.apache.org/viewvc?view=rev&rev=468531
Log:
Update the logging question (2.3). It was woefully out-of-date.

Modified:
    xml/security/tags/J_1_4_RC2a/doc/site/src/documentation/content/xdocs/Java/faq.xml

Modified: xml/security/tags/J_1_4_RC2a/doc/site/src/documentation/content/xdocs/Java/faq.xml
URL: http://svn.apache.org/viewvc/xml/security/tags/J_1_4_RC2a/doc/site/src/documentation/content/xdocs/Java/faq.xml?view=diff&rev=468531&r1=468530&r2=468531
==============================================================================
--- xml/security/tags/J_1_4_RC2a/doc/site/src/documentation/content/xdocs/Java/faq.xml (original)
+++ xml/security/tags/J_1_4_RC2a/doc/site/src/documentation/content/xdocs/Java/faq.xml Fri Oct 27 13:43:41 2006
@@ -117,24 +117,14 @@
       </question>
       <answer>
 	<p>
-	  The logging is configured in the <code>config.xml</code> file which
-	  either in the <code>xmlsec.jar</code> file or in the class path. This
-	  is a little bit complicated as config.xml is used both for library
-	  wide configurations like algorithms as well as for the user setting
-	  about log4j. This will be changed someday ;-))
-	</p>
-	<p>OK, so it goes: In the 
-	  <jump
-	    href="http://cvs.apache.org/viewcvs.cgi/xml-security/src/org/apache/xml/security/resource/config.xml?rev=HEAD&amp;content-type=text/vnd.viewcvs-markup">
-	    <code>xml-security/src/org/apache/xml/security/resource/config.xml</code>
-	  </jump> file, there is an element called
-	  <code>&lt;log4j:configuration&gt;</code>. This element contains the
-	  XML style configuration information as defined in the 
-	  <jump
-	    href="http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurator.html">
-	    log4j DOMConfigurator class
-	  </jump>. You can find examples 
-	  <jump href="http://cvs.apache.org/viewcvs.cgi/jakarta-log4j/tests/input/xml/">here</jump>
+	  The Apache commons-logging API is used to log information. This
+	  allows any logging implementation to be used. By default, Log4j
+	  is configured in the <code>log4j.properties</code> file 
+	  which is either in the <code>xmlsec.jar</code> file or in the class 
+	  path. See <jump
+	    href="http://jakarta.apache.org/commons/logging/guide.html#Quick_Start">
+	  the Commons Logging Quick Start Guide</jump> for information on
+	  how to configure the logging system.
 	</p>
       </answer>
     </faq>