ceki 02/03/24 15:37:11 Modified: . build.xml src/xdocs documentation.xml tests/src/java/org/apache/log4j/xml CustomLevelTestCase.java Log: minor changes Revision Changes Path 1.23 +2 -0 jakarta-log4j/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/build.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- build.xml 23 Mar 2002 07:53:05 -0000 1.22 +++ build.xml 24 Mar 2002 23:37:11 -0000 1.23 @@ -281,6 +281,7 @@ ${stem}/spi/*.class, ${stem}/net/*.class, ${stem}/varia/*.class, + ${stem}/chainsaw/*.class, ${stem}/nt/*.class, ${stem}/xml/*.class, ${stem}/jmx/*.class, @@ -314,6 +315,7 @@ org.apache.log4j.performance, org.apache.log4j.spi, org.apache.log4j.varia, + org.apache.log4j.chainsaw, org.apache.log4j.xml, org.apache.log4j.xml.examples" version="true" 1.15 +64 -37 jakarta-log4j/src/xdocs/documentation.xml Index: documentation.xml =================================================================== RCS file: /home/cvs/jakarta-log4j/src/xdocs/documentation.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- documentation.xml 21 Jan 2002 23:07:12 -0000 1.14 +++ documentation.xml 24 Mar 2002 23:37:11 -0000 1.15 @@ -8,46 +8,73 @@ <body> -<section name="log4j documentation"> + <section name="Official log4j documentation"> -<p>The following documentation is included with the standard log4j -distribution and also browsable online:</p> + <p>The following documentation is included with the standard log4j + distribution and also browsable online:</p> + + <ul> + <p> + <li><a href="manual.html"><b>short manual</b></a>, + </li> + </p> + + <p> + <li> + <a href="api/index.html"><b>javadoc documentation</b></a>, + </li> + </p> + + <p> + <li> + <a href="HISTORY"><b>project history</b></a>, + </li> + </p> + + + <p> + <li> + <a href="FAQ.html"><b>FAQ</b></a>, + </li> + </p> + + <p> + <li> + <a href="TROUBLESHOOT.html"><b>troubleshooting guide</b></a>. + </li> + </p> + + </ul> + </section> + + <section name="Articles on log4j"> + <ul> + + <li><a href="http://www.vipan.com/htdocs/log4jhelp.html">Don't Use System.out.println! + Use Log4j</a> by Vipan Singla + </li> + + <li><a href="http://builder.com.com/article.jhtml?id=u00820020124kev01.htm"> + Add logging to your Java Applications</a> by Kevin Brown + </li> + + <li><a href="http://www.entwickler.com/jm/ausgaben/2001/4/artikel/17/online.shtml"> + Computer: captains, new entry... DasJakarta Logging-System log4j</a> by Thomas Poschmann + </li> + + <li> + <a href="http://www.opensymphony.com/guidelines/logging.jsp">OpenSymphony Logging Primer</a> + </li> + </ul> + + <p>If you would like your log4j-relateed article to be listed + here, then please send a note to the <a + href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a> + list. + </p> -<ul> - <p> - <li><a href="manual.html"><b>short manual</b></a>, - </li> - </p> - - <p> - <li> - <a href="api/index.html"><b>javadoc documentation</b></a>, - </li> - </p> - - <p> - <li> - <a href="HISTORY"><b>project history</b></a>, - </li> - </p> - - - <p> - <li> - <a href="FAQ.html"><b>FAQ</b></a>, - </li> - </p> - - <p> - <li> - <a href="TROUBLESHOOT.html"><b>troubleshooting guide</b></a>. - </li> - </p> - -</ul> - -</section> + </section> </body> </document> 1.2 +8 -0 jakarta-log4j/tests/src/java/org/apache/log4j/xml/CustomLevelTestCase.java Index: CustomLevelTestCase.java =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/xml/CustomLevelTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CustomLevelTestCase.java 18 Feb 2002 19:16:52 -0000 1.1 +++ CustomLevelTestCase.java 24 Mar 2002 23:37:11 -0000 1.2 @@ -48,6 +48,13 @@ assert(Compare.compare(TEMP, "witness/customLevel.3")); } + public void test4() throws Exception { + DOMConfigurator.configure("input/xml/customLevel4.xml"); + common(); + assert(Compare.compare(TEMP, "witness/customLevel.4")); + } + + void common() { int i = 0; logger.debug("Message " + ++i); @@ -62,6 +69,7 @@ suite.addTest(new CustomLevelTestCase("test1")); suite.addTest(new CustomLevelTestCase("test2")); suite.addTest(new CustomLevelTestCase("test3")); + suite.addTest(new CustomLevelTestCase("test4")); return suite; }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>