You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by ce...@apache.org on 2001/01/10 14:23:22 UTC
cvs commit: jakarta-site/log4j documentation.htsrc download.htsrc earlier.htsrc history.htsrc index.htsrc introduction.htsrc praise.htsrc
ceki 01/01/10 05:23:22
Added: log4j documentation.htsrc download.htsrc earlier.htsrc
history.htsrc index.htsrc introduction.htsrc
praise.htsrc
Log:
First attempt at placing log4j on jakarta.apache.org
Revision Changes Path
1.1 jakarta-site/log4j/documentation.htsrc
Index: documentation.htsrc
===================================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>log4j documentation</title>
</head>
<body>
<hr>
<center><img src="headerLogo.jpg"></center>
<hr>
<h2>log4j documentation</h2>
<p>The following documentation is included with the standard log4j
distribution and also browsable online:
<ul>
<p><li><a href="log4j/javadoc/manual.html"><b>introductory manual</b></a>,
<p><li><a href="log4j/javadoc/index.html"><b>javadoc documentation</b></a>,
<p><li><a href="log4j/FAQ.html"><b>FAQ</b></a>,
<p><li><a href="log4j/TROUBLESHOOT.html"><b>troubleshooting guide</b></a> and
<p><li><a href="log4j/javadoc/deepExtension.html"><b>extending log4j</b></a>.
<ul>
<p>
</body>
</html>
1.1 jakarta-site/log4j/download.htsrc
Index: download.htsrc
===================================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>log4j download</title>
</head>
<body>
<hr>
<center><img src="headerLogo.jpg"></center>
<hr>
<table CELLSPACING=8 CELLPADDING=4 FGCOLOR="gray"
BORDER="0" WIDTH="25%" ALIGN=RIGHT VALIGN="TOP">
<tr> <td valign=center BGCOLOR="#FFFFCF" ALIGN=center>
<b><font color="CC0000">This is your last chance to bail out!</b></td>
<tr >
<td> <font color="666666">
There is <a href=praise.html>mounting evidence</a> showing that
log4j is highly addictive. In clinical tests, starving programmers
have consistently preferred logging to pizza.
<p> Are you absolutely sure you want to use log4j? Because once
hooked, there is no turning back.
</td>
</tr>
</table>
<h2>log4j version 1.0.1 (2001-01-08 22:12:40 UTC)</h2>
<p>Download the complete package including <i>full source code</i>,
class files and documentation in <a
href="jakarta-log4j-1.0.1.tgz"><b>TGZ</b></a> format or in <a
href="jakarta-log4j-1.0.1.zip"><b>ZIP</b></a> format. You may elect to browse
log4j <a href="documentation.html"><b>documentation</b></a> online.
<p>Version 1.0.1 is the 21th public release of log4j.
<p>Thanks to <a href="mailto:hgomez@slib.fr">Henri Gomez</a>, Linux
users can now fetch log4j in RPM format at <a
href="http://rpmized.free.fr">http://rpmized.free.fr</a> or
alternatively at <a
href="ftp://ftp.falsehope.com/home/gomez/log4j/">ftp://ftp.falsehope.com/home/gomez/log4j/</a>.
<p>We also maintain a list of <a href=earlier.html>earlier
versions</a> of log4j for download, intended for the curious
paleontologist.
<h3>CVS Access</h3>
<p>The log4j source code can be checked out through anonymous CVS with
the following instruction set. When prompted for a password for
anonymous, type "anoncvs".
<pre>
cvs -d :pserver:anoncvs@jakarta.apache.org:/home/cvspublic login
password: anoncvs
</pre>
<p><pre>
cvs -d :pserver:anoncvs@jakarta.apache.org:/home/cvspublic checkout jakarta-log4j
</pre>
<p> As always with CVS, updates from within a workcopy do not need the
cumbersome -d parameter.
</body> </html>
1.1 jakarta-site/log4j/earlier.htsrc
Index: earlier.htsrc
===================================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>Older distributions of log4j</title>
</head>
<body bgcolor=white>
<h1>Older distributions of the log4j package</h1>
<hr>
<b>BEWARE:</b> For some reason Internet Explorer decides to rename
".tgz" files as ".tar". You should rename the files back to tgz after
the download completes.
<hr>
<dl
<dt><b>log4j-v0.9.0</b>
<dd>Download full package in <a href=log4j-v0.9.0.tgz>TGZ</a> format
<dt><b>log4j-v0.8.5b</b>
<dd>Download full package in <a href=log4j-v0.8.5b.tgz>TGZ</a> format
<dt><b>log4j-v0.8.4d</b>
<dd>Download full package in <a href=log4j-v0.8.4d.tgz>TGZ</a> format
<dt><b>log4j-v0.8.3b</b>
<dd>Download full package in <a href=log4j-v0.8.3b.tgz>TGZ</a> format
</dl>
<hr>
<address></address>
<!-- hhmts start -->
Last modified: Tue May 2 18:28:08 MDT 2000
<!-- hhmts end -->
</body> </html>
1.1 jakarta-site/log4j/history.htsrc
Index: history.htsrc
===================================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>log4j history</title>
<LINK rel="stylesheet" TYPE="text/css" HREF="cgu.css">
</head>
<body bgcolor="white">
<hr>
<center><img src="headerLogo.jpg"></center>
<hr>
<table>
<tr valign=top>
<td>
<!--#include file="navbar.html"-->
</td>
<td>
<h2>History</h2>
The <a href="log4j/HISTORY"><b>project history</b></a> gives a brief summary
of changes and additions. Users frequently report bugs that are solved
in newer versions of log4j. Please have a look at the history file
before asking for help.
<p>The project's official address changed to <a
href="http://www.log4j.org">http://www.log4j.org</a> as of April 2000.
<a href="webalizer">Access statistics</a> for the project web site
are available online.
<p>Many thanks to all the log4j users who keep sending us input and
sometimes even <b><a href=praise.html>praise</a></b> for our
collective effort.
<p>The first ancestor of log4j was written for the E.U. sponsored
<a href="http://www.semper.org">SEMPER</a> project. N. Asokan,
Ceki Gülcü and Michael Steiner came up with the idea of
hierarchical categories back in 1996. Their idea is still at the heart
of log4j.
<p>The package was considerably improved over the years by Ceki
Gülcü while working for the <a
href=http://www.zurich.ibm.com><b>IBM Zurich Research
Laboratory</b></a>. Although no longer with IBM, Ceki will still owns
and maintains log4j.
<p>Our special thanks to Michael Niksch for his assistance on many
technical matters.
<p></A>We are indebted to the folks at SourceForge for hosting
log4j. The service they provide is amazing. It would have taken us
weeks to create a similar setup on our own, yet on SourceForge we were
up and running in a single weekend.
<p>The log4j logos were designed and kindly
donated by <a href="http://www.cyberlab.ch"><IMG src="cyberlab15.gif" ALT="Cyberlab S.A." ALIGN="abscenter"></a> of Switzerland.
</table>
</body> </html>
1.1 jakarta-site/log4j/index.htsrc
Index: index.htsrc
===================================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>log4j home page</title>
</head>
<body>
<hr>
<center><img src="headerLogo.jpg"></center>
<hr>
<h2>log4j - A fast and flexible logging library for Java</h2>
Log4j is a popular logging package written in Java. It allows you to
log to a file, a java.io.Writer, a remote server, a syslog daemon and
whole bunch of other targets. The package is designed so that log
statements can remain in shipped code without incurring a high
performance cost. One distinctive feature of log4j is the notion of
hierarchical categories. Using categories, it is possible to select
(at runtime) which log statements are output at arbitrary
granularity. Users can choose to implement their own log formats and
output strategies.
<p>You can <a href="download.html"><b>download the latest
release</b></a> or browse the <a
href="documentation.html"><b>documenation</b></a> online.
</body>
</html>
1.1 jakarta-site/log4j/introduction.htsrc
Index: introduction.htsrc
===================================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>log4j home page</title>
</head>
<body>
<h2>log4j</h2>
<p>Inserting log statements into your code is a low-tech method for
debugging it. It may also be the only way because debuggers are not
always available or applicable. This is often the case for
distributed applications.
<p>On the other hand, some people argue that log statements pollute
source code and decrease legibility. (We believe that the contrary is
true). In the Java language where a pre-processor is not available,
log statements increase the size of the code and reduce its speed,
even when logging is turned off. Given that a reasonably sized
application may contain thousands of log statements, speed is of
particular importance.
<p>With log4j it is possible to enable logging at runtime without
modifying the application binary. The log4j package is designed so
that these statements can remain in shipped code without incurring a
heavy performance cost. Logging behavior can be controlled by editing
a configuration file, without touching the application binary.
<p>Logging equips the developer with <i>detailed context</i> for
application failures. On the other hand, testing provides quality
assurance and confidence in the application. Logging and testing
should not be confused. They are complementary. When logging is wisely
used, it can prove to be an essential tool.
<p>One of the distinctive features of log4j is the notion of
<i>inheritance</i> in categories. Using a category <em>hierarchy</em>
it is possible to control which log statements are output at
arbitrarily fine granularity but also great ease. This helps reduce
the volume of logged output and minimize the cost of logging.
<p>The target of the log output can be a file, an
<code>OutputStream</code>, a <code>java.io.Writer</code>, a remote
log4j server, a remote Unix Syslog daemon or even a NT Event logger.
<p>On a 233 MHz ThinkPad running JDK 1.1.7B, it costs about 46
nano-seconds to determine if that statement should be logged or
not. Actual logging is also quite fast, ranging from 79
µ-seconds using the SimpleLayout, 164 µ-seconds using the
TTCCLayout and around a millisecond when printing exceptions. The
performance of the PatternLayout is almost as good as the dedicated
patterns, except that it is a lot more flexible.
<p>The package is being constantly improved thanks to input from users
and code contributed by authors in the community.
</body>
</html>
1.1 jakarta-site/log4j/praise.htsrc
Index: praise.htsrc
===================================================================
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>Praise from log4j users</title>
</head>
<body bgcolor="white">
<h2>Praise from log4j users</h2>
<hr><blockquote>
<p>Log4j is an incredibly well designed and functional logging tool. I
caught the religion last summer and with every project I work on, most
everyone agrees it's a must know/have tool. Previously I was using
another Java logging library developed internally within my company
which I liked. I had no desire to learn another but did so for the
sake of due diligence. Log4j has the following features which set it
apart from others I have seen.
<p><b>Highly configurable</b> - the ability to configure the
properties of your loggers (called Categories in log4j) from within a
property file is indispensible. This allows you to change the
characteristics of your logging without changing code. You can change
the logging level, the format of the output and the output targets
very easily. One can also use XML files (though I haven't).
<p><b>Unobtrusive</b> - I'm finishing a project where we started using another
logging tool. The log statements were clumsily long and required using
predefined constants that were hard to remember. When writing the
initial code, "System.out.println" was so much easier to type that
people did this for tracing with the best of intentions to place
legitimate logging in later. You know the story. It never
happened. Log4j statements are shorter than "System.out.println"
statements. This encourages people to actually use it rather than
simply agreeing to.
<p><b>Easy configuration</b> - With just one statement, log4j will
configure itself with a set of defaults that are useful until you get
around to actually writing your property file, XML file or
whatever. Like the point just made before, this allows log4j to be
used at the outset of coding rather than having to wait because you
haven't considered how you wish logging to be configured. The
application code itself does not have to know how logging will be
configured.
<p><b>Performance Concerns</b> - Since Java does not use pre-processor
macros, most Java tracing is always compiled into the code. That means
that the decision to compile is made at runtime. There are times when
performance is so paramount that even checking whether to log is a
concern. There are other extremes where other delays make this
insignificant so that the performance is easily sacrificed for the
increased amount of information logged (such as method name, class
name and line number in source code). The log4j javadoc documentation
explains which information elements are quickly logged and which may
compromise performance. It also includes benchmarks that demonstrate
how fast certain statements are logged for a few sample machine
configurations.
<p><b>Hierarchical Categories</b> - This is highly useful in component
based development. Each component has its own set of logging
categories. When individually tested, the properties of these
categories may be set however the developer wishes. When combined with
other components, the categories inherit the properties determined by
the integrator of the components. One can selectively elevate logging
priorities on one component without affecting the other
components. This is useful when you need a detailed trace from just a
single component without crowding the trace file with messages from
other components. All this can be done with property files - no change
in the code is required.
<p><b>Easily specified output format</b> - Some Java and OO purist
disagree with me on this, but allowing one to use printf-style output
format specification is powerful, convenient and compact. Log4j
provides a Layout class with this capability. Of course, for those who
wish, you may implement the Layout interface yourself with something
"more OO". Naturally, the printf-style pattern can be specified in a
property file.
<p><b>Customization</b> - Like other loggers, log4j is interface-based
making it possible to extend. Log4j supplies useful implementations
that are extended easily without having to implement the interface
from scratch.
</blockquote>
<p align=right>Paul Glezen (pglezen at atdial.net), December 3rd, 2000
<hr><blockquote>
This Java package is probably one of the best and most reliable packages
around, and really helps development and maintenance of quality software.
Thanks to all contributors who have made such a good work.
</blockquote>
<p align=right>Denis Balazuc (denis.balazuc at trader.com), December 8th, 2000
<hr><blockquote> This is just a quick note of thanks for publishing
your article in Javaworld. Log4j is really easy to use. While I was
initially skeptical of the idea, code like this makes me a believer in
the concept of Open Source.
</blockquote>
<p align=right>Paul Hyndman (PaulHyndman at mynd.com), November 29th, 2000
<hr><blockquote>
I just recently became aware of log4j and am just now begining to use
it. I want to thank you and the rest of the log4j development team for
making this functionality available. You are providing an outstanding
service to the development community. Please pass my regards on to the
other team members.
</blockquote>
<p align=right>Rich Coco (racoco at celoxnetworks.com), November 16th, 2000
<hr><blockquote>
Just thought I'd let you know that I am using your log4j as a part of
an e-commerce application (<a
href="http://www.consumerd.com">www.consumerd.com</a>). I am using
the XML configuration classes and have to say that I am most
impressed.
</blockquote>
<p align=right>Richard King (Richard.King at capgemini.co.uk), October 25th, 2000
<hr><blockquote>
You should see what we've used log4j for at work... I put together
this Servlet that can interpret SOAP messages and invoke little
"handlers". Logging is pervasive through out the system, and the
handler developers can "create" their own Categories dynamically using
the getInstance method of Category.
<p>It's funny when I get an email from someone at work who's using the
toolkit with a "it didn't work" question, and I ask them to check out
the log... due to the coolness of log4j, they can track down their
mistake immediately.
</blockquote>
<p align=right>Christopher Taylor (cstaylor at pacbell.net), September 2nd, 2000
<hr><blockquote>
I am using log4j for a project I am currently working on. The
simplicity and ease with which new appenders can be written makes it
one of the best logging systems I have ever used.
</blockquote>
<p align=right> Manish Balsara (manishb at aumsoft.com) August 28th, 2000
<hr><blockquote>
Thank you for writing this incredibly effective piece of software. You
have made my and my team's lives much easier.
</blockquote>
<p align=right>Guy Nirpaz, Java Architect (guyn at tantian.com) August
14th, 2000
<hr><blockquote>
Thank you <em>so</em> much for developing such a
sleek package. I think it's going to be a part of many of my projects in
the future :)
</blockquote>
<p align=right>Alice Nakajima (alice.t.nakajima at saic.com) May 10th,
2000
<hr><blockquote>
Thank you very much for your great work on log4j, which is really
powerful and flexible logging system. Log4j is now playing an
important role in our project.
</blockquote>
<p align=right> Zeng Qiang (zeng.qiang at europeloan.com) April 26th, 2000
<hr>
<blockquote> Thank you and your team giving us a excellent tool to
help us to develop our Java applications. After evaluation, our team
is ready to use log4j as our eCare product's diagnostic strategy.
</blockquote> <p align=right>Jianbo Wang (jiwang at Daleen.com) April
25th, 2000
<hr>
<blockquote> <!-- OK -->
Was trying to use the log4j tracer ... great job, by the way !
<p>Actually I'm evaluating the log4j package for use in our commercial
projects. We have our own tracer package which is by far less
powerfull and less configurable than yours.
</blockquote>
<p align=right>Joerg Palmer (Joerg.Palmer at Compart.net) April 14th, 2000
<hr>
<blockquote><!-- OK -->
Hooray, log4j! It's now all over my current project, and my colleagues
were pleasantly surprised at the ease of debugging. I gave them my
jarfile, it didn't work, I said "oh, just change this configuration
file" and <em>presto</em>, logging to a file. They're happy.
</blockquote>
<p align=right>Nelson Minar CTO, Popular Power, Inc. (nelson at popularpower.com) April 14th, 2000
<hr>
<blockquote><!-- OK -->
I really dig your log4j package... just started using it on our linux
and os390 boxes for the java servlets we run in websphere. Still
trying to get the hang of it properly, but what I do have working is
working great. (Not to mention your makefile tutorial which has
improved my life significantly! :-)
</blockquote>
<p align=right>Anthony (ant at sanlam.co.za) April 13th, 2000
<hr><!-- OK -->
<blockquote>
Thanks for providing log4j: it's a very useful package.
</blockquote>
<p align=right>Andrew Harris (Andrew.Harris at capgemini.co.uk) April 10th, 2000
<hr>
<blockquote><!-- OK -->
I just started using log4j v.0.8.1. It is quite what I was looking for.
<p>So here is my <b>"THANK YOU"</b> to all the contributors.
I think I'll join the club.
</blockquote>
<p align=right>Avy Sharell (asharell at club-internet.fr) March 8th, 2000
<hr>
<blockquote><!-- OK -->
I just wanted to thank you for log4j which is a great piece of software!
<p>We are using it in the FREE e-democracy project
<a href="http://www.thecouch.org/free/">http://www.thecouch.org/free/</a> to provide an effective security audit
trail in our electronic voting software.
</blockquote>
<p align=right> Jason Kitcat (jeep at thecouch.org) March 29th, 2000
<hr>
<blockquote>
Thanks for making log4j available.
I like the changes in v0.8 and am using it in all my java projects.
</blockquote>
<p align=right>Steven Marcus (srnm at awaretechnologies.com) February 19th, 2000
<hr>
<blockquote><!-- OK -->
First congratulation for your great job on the Log mechanism log4j,
it's really valuable.
</blockquote>
<p align=right>Sebastien Sahuc (ssahuc at imediation.com) January 4th, 2000
<hr> <blockquote> Just a few remarks to your log4j Logging-Tool. First
of all, in my opinion, it is exactly what many Java programmers need:
A small but very useful tool complementing the debugger ;-) The logs
help me to debug results generated on a distant client. <p
align=right>Jens Uwe Pipka (jens.pipka at gmx.de) October 25th, 1999
<hr>
</body> </html>