Author: ceki
Date: Wed Mar 8 21:46:04 2006
New Revision: 559
Modified:
nlog4j/trunk/build.properties
nlog4j/trunk/docs/changes.html
nlog4j/trunk/docs/codes.html
nlog4j/trunk/docs/contributors.html
nlog4j/trunk/docs/css/site.css
nlog4j/trunk/docs/documentation.html
nlog4j/trunk/docs/download.html
nlog4j/trunk/docs/faq.html
nlog4j/trunk/docs/history.html
nlog4j/trunk/docs/index.html
nlog4j/trunk/src/java/org/apache/log4j/performance/NewVsSetLen.java
nlog4j/trunk/src/xdocs/changes.xml
nlog4j/trunk/src/xdocs/download.xml
nlog4j/trunk/src/xdocs/index.xml
Log:
- Release 1.2.23 which is identical to 1.2.22 except that it contains the
latest SLF4J version.
- XDOC changes
Modified: nlog4j/trunk/build.properties
==============================================================================
--- nlog4j/trunk/build.properties (original)
+++ nlog4j/trunk/build.properties Wed Mar 8 21:46:04 2006
@@ -1,2 +1,2 @@
-version=1.2.22
+version=1.2.23
\ No newline at end of file
Modified: nlog4j/trunk/docs/changes.html
==============================================================================
--- nlog4j/trunk/docs/changes.html (original)
+++ nlog4j/trunk/docs/changes.html Wed Mar 8 21:46:04 2006
@@ -108,6 +108,12 @@
bundle LF5, chainsaw and <code>NTEventAppender</code> with
NLOG4J.
</p>
+
<h1>Changes in NLOG4J 1.2.23</h1>
+ <p>NLOG4J 1.2.23 is identical to NLOG4J
1.2.22 except that it
+ contains the classes of the latest SLF4J release, that is
+ version 1.0. For all practical purposes, it should be
+ indistinguishable from version 1.2.22.
+ </p>
<h1>Changes in NLOG4J 1.2.22</h1>
<p>NLOG4J 1.2.22 mirrors the merge of the
<code>MarkingLoggerof</code> interface into the
@@ -210,10 +216,10 @@
-
+
<p> </p>
-
</div>
+
</div>
<!-- FOOTER -->
<div id="footer">
@@ -261,3 +267,4 @@
+
Modified: nlog4j/trunk/docs/codes.html
==============================================================================
--- nlog4j/trunk/docs/codes.html (original)
+++ nlog4j/trunk/docs/codes.html Wed Mar 8 21:46:04 2006
@@ -305,3 +305,4 @@
+
Modified: nlog4j/trunk/docs/contributors.html
==============================================================================
--- nlog4j/trunk/docs/contributors.html (original)
+++ nlog4j/trunk/docs/contributors.html Wed Mar 8 21:46:04 2006
@@ -298,3 +298,4 @@
+
Modified: nlog4j/trunk/docs/css/site.css
==============================================================================
--- nlog4j/trunk/docs/css/site.css (original)
+++ nlog4j/trunk/docs/css/site.css Wed Mar 8 21:46:04 2006
@@ -45,6 +45,14 @@
vertical-align: top;
}
+.pub {
+ background-color: #ffc;
+ border: 1px solid #fda;
+ padding-left: 1ex;
+ padding-right: 1ex;
+ padding-top: 1ex;
+ padding-bottom: 1ex;
+}
/* ---------------------- MENU ------------------------ */
Modified: nlog4j/trunk/docs/documentation.html
==============================================================================
--- nlog4j/trunk/docs/documentation.html (original)
+++ nlog4j/trunk/docs/documentation.html Wed Mar 8 21:46:04 2006
@@ -299,3 +299,4 @@
+
Modified: nlog4j/trunk/docs/download.html
==============================================================================
--- nlog4j/trunk/docs/download.html (original)
+++ nlog4j/trunk/docs/download.html Wed Mar 8 21:46:04 2006
@@ -96,14 +96,14 @@
<div class="centercol">
- <h1>NLOG4J version 1.2.22</h1>
- <p>You can download NLOG4J version 1.2.22,
with native SLF4J
+ <h1>NLOG4J version 1.2.23</h1>
+ <p>You can download NLOG4J version 1.2.23,
with native SLF4J
support, including <i>full source code</i>, class files and
documentation as
</p>
<ul>
- <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.22.tar.gz"><b>nlog4j-1.2.22.tar.gz</b></a></li>
- <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.22.zip"><b>nlog4j-1.2.22.zip</b></a></li>
+ <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.23.tar.gz"><b>nlog4j-1.2.23.tar.gz</b></a></li>
+ <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.23.zip"><b>nlog4j-1.2.23.zip</b></a></li>
</ul>
<p>NLOG4J is a
production-quality log4j-replacement with
direct SLF4J API support. NLOG4J is maintained by Ceki
@@ -111,6 +111,10 @@
details about how nlog4j differs from log4j please refer to
the <a href="changes.html">changes</a> document.
</p>
+ <p class="pub">Please note
that all new development effort
+ in NLOG4J is now redirected into <a
href="http://www.logback.com">LOGBack</a>, a sucessor for
+ log4j and NLOG4J.
+ </p>
<h3>Previous versions of
NLOG4J</h3>
<p>Previous versions of SLF4J
can be downloaded from the <A href="http://www.slf4j.org/dist/">main
repository</A>.
</p>
@@ -469,3 +473,4 @@
+
Modified: nlog4j/trunk/docs/faq.html
==============================================================================
--- nlog4j/trunk/docs/faq.html (original)
+++ nlog4j/trunk/docs/faq.html Wed Mar 8 21:46:04 2006
@@ -1175,3 +1175,4 @@
+
Modified: nlog4j/trunk/docs/history.html
==============================================================================
--- nlog4j/trunk/docs/history.html (original)
+++ nlog4j/trunk/docs/history.html Wed Mar 8 21:46:04 2006
@@ -166,3 +166,4 @@
+
Modified: nlog4j/trunk/docs/index.html
==============================================================================
--- nlog4j/trunk/docs/index.html (original)
+++ nlog4j/trunk/docs/index.html Wed Mar 8 21:46:04 2006
@@ -103,6 +103,10 @@
the founder of the log4j project. For the differences between
log4j and NLOG4J please refer to the <a href="changes.html">changes
list</a>.
</p>
+ <p class="pub">Please note
that all new development effort in
+ NLOG4J is now redirected into <a
href="http://www.logback.com">LOGBack</a>, a sucessor for log4j
+ and NLOG4J.
+ </p>
<h1>Introduction</h1>
<p>Inserting log statements into your code
is a low-tech method
for debugging it. It may also be the only way because debuggers
@@ -202,3 +206,4 @@
+
Modified: nlog4j/trunk/src/java/org/apache/log4j/performance/NewVsSetLen.java
==============================================================================
--- nlog4j/trunk/src/java/org/apache/log4j/performance/NewVsSetLen.java
(original)
+++ nlog4j/trunk/src/java/org/apache/log4j/performance/NewVsSetLen.java Wed Mar
8 21:46:04 2006
@@ -149,34 +149,41 @@
}
- static
- public
- void main(String[] args) {
+ static public void main(String[] args) {
int t;
+ System.out.println("<table border=1>\n");
+ System.out.print("<tr>");
+ System.out.print("<th>New Buffer</th><th>setLength</th>");
+ System.out.print("<th>New Buffer</th><th>setLength</th>");
+ System.out.print("<th>New Buffer</th><th>setLength</th>");
+ System.out.print("<th>New Buffer</th><th>setLength</th>");
+ System.out.print("<th>New Buffer</th><th>setLength</th>");
+ System.out.println("<tr>");
for(int len = SBUF_LEN; len <= BIGBUF_LEN; len*=4, RUN_LENGTH /= 4) {
- System.out.println("<td>"+len+"\n");
+ System.out.println("<tr>\n");
+ System.out.print("<td>"+len+"<td>");
for(int second = 0; second < 16;) {
- System.out.println("SECOND loop="+second +", RUN_LENGTH="
- +RUN_LENGTH+", len="+len);
- t = (int)newBuffer(len, second);
-
- System.out.print("<td>" + t);
- t = (int)setLen(len, second);
- System.out.println(" <td>" + t + " \n");
- if(second == 0) {
- second = 1;
- } else {
- second *= 2;
- }
+ //System.out.println("SECOND loop="+second +", RUN_LENGTH="
+ // +RUN_LENGTH+", len="+len);
+ t = (int)newBuffer(len, second);
+
+ System.out.print("<td>" + t +"</td>");
+ t = (int)setLen(len, second);
+ System.out.print(" <td>" + t + "</td>");
+ if(second == 0) {
+ second = 1;
+ } else {
+ second *= 2;
+ }
}
+ System.out.println("\n</tr>");
}
-
+ System.out.println("</table>");
}
- static
- double newBuffer(int size, int second) {
+ static double newBuffer(int size, int second) {
long before = System.currentTimeMillis();
for(int i = 0; i < RUN_LENGTH; i++) {
@@ -194,8 +201,7 @@
return (System.currentTimeMillis() - before)*1000.0/RUN_LENGTH;
}
- static
- double setLen(int size, int second) {
+ static double setLen(int size, int second) {
long before = System.currentTimeMillis();
StringBuffer buf = new StringBuffer(SBUF_LEN);
Modified: nlog4j/trunk/src/xdocs/changes.xml
==============================================================================
--- nlog4j/trunk/src/xdocs/changes.xml (original)
+++ nlog4j/trunk/src/xdocs/changes.xml Wed Mar 8 21:46:04 2006
@@ -26,6 +26,15 @@
</section>
+ <section name="Changes in NLOG4J 1.2.23">
+ <p>NLOG4J 1.2.23 is identical to NLOG4J 1.2.22 except that it
+ contains the classes of the latest SLF4J release, that is
+ version 1.0. For all practical purposes, it should be
+ indistinguishable from version 1.2.22.
+ </p>
+ </section>
+
+
<section name="Changes in NLOG4J 1.2.22">
<p>NLOG4J 1.2.22 mirrors the merge of the
<code>MarkingLoggerof</code> interface into the
Modified: nlog4j/trunk/src/xdocs/download.xml
==============================================================================
--- nlog4j/trunk/src/xdocs/download.xml (original)
+++ nlog4j/trunk/src/xdocs/download.xml Wed Mar 8 21:46:04 2006
@@ -8,20 +8,20 @@
<body>
- <section name="NLOG4J version 1.2.22">
+ <section name="NLOG4J version 1.2.23">
- <p>You can download NLOG4J version 1.2.22, with native SLF4J
+ <p>You can download NLOG4J version 1.2.23, with native SLF4J
support, including <i>full source code</i>, class files and
documentation as
</p>
<ul>
- <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.22.tar.gz"><b>nlog4j-1.2.22.tar.gz</b></a></li>
- <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.22.zip"><b>nlog4j-1.2.22.zip</b></a></li>
+ <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.23.tar.gz"><b>nlog4j-1.2.23.tar.gz</b></a></li>
+ <li><a
href="http://www.slf4j.org/dist/nlog4j-1.2.23.zip"><b>nlog4j-1.2.23.zip</b></a></li>
</ul>
-
+
<p>NLOG4J is a production-quality log4j-replacement with
direct SLF4J API support. NLOG4J is maintained by Ceki
Gülcü, the founder of the log4j project. For
@@ -29,6 +29,13 @@
the <a href="changes.html">changes</a> document.
</p>
+ <p class="pub">Please note that all new development effort
+ in NLOG4J is now redirected into <a
+ href="http://www.logback.com">LOGBack</a>, a sucessor for
+ log4j and NLOG4J.
+ </p>
+
+
<h3>Previous versions of NLOG4J</h3>
Modified: nlog4j/trunk/src/xdocs/index.xml
==============================================================================
--- nlog4j/trunk/src/xdocs/index.xml (original)
+++ nlog4j/trunk/src/xdocs/index.xml Wed Mar 8 21:46:04 2006
@@ -20,6 +20,14 @@
href="changes.html">changes list</a>.
</p>
+ <p class="pub">Please note that all new development effort in
+ NLOG4J is now redirected into <a
+ href="http://www.logback.com">LOGBack</a>, a sucessor for log4j
+ and NLOG4J.
+ </p>
+
+
+
</section>
_______________________________________________
nlog4j-dev mailing list
[email protected]
http://slf4j.org/mailman/listinfo/nlog4j-dev