Tal Dayan wrote:
>
> Recently I saw an Avalon announcement regarding a logger kit. Is this is
> related in any way to the Log4J project ? If not, what are the key
> differences between the two ? And while we are on the subject, what
> are the differences between these two and the Sun logging API ?
Log4J, LogKit, and JDK 1.4 Logging are all different APIs. They are of
varying quality and complexity. You will find that many concepts are
shared between LogKit and Log4J. JDK1.4 Logging is considered by many
to be an experimental logging infrastructure because it has not had the
benefit of hard use in actual released software. It takes a couple
iterations of an API to get it right, and Sun foolishly decided to include
the API without the real world testing and feedback. Almost all the other
APIs they included with JDK 1.4 have been released first as a separate
project--something that would have benefitted JDK 1.4 Logging.
That really leaves you with LogKit 1.0b4 and Log4J 1.1.3. These two
logging appplications are becoming more and more similar as the days
pass (whether the authors are aware of it or not). The difference
between the two is largely the concepts they were built on. You will
find better documentation for Log4J, and probably a larger group of
people who use it. The LogKit team give special attention to server
side issues beyond simple application logging. Those server side issues
include reliability, security, and atomicity--along with performance.
This is not to insinuate that Log4J ignores those issues, but it's
primary focus on application logging rather than server logging.
> We plan to add a logger to one of our products and we are not sure
> which one to use.
Hopefully the information presented here will help you. I would stay
away from JDK1.4 logging, and use either LogKit or Log4J which are of
equal quality--but slightly different focuses and underlying concepts.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]