commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frost, Gary" <>
Subject RE: Log4j - confused
Date Thu, 06 Nov 2003 21:39:14 GMT

You should take a look at Jakarta Commons - Logging.
	"The Logging package is an ultra-thin bridge between different
logging libraries..."

You code to the Commons-Logging API in your applications independent of the
underlying logging implementation, and configure the Commons Logger to use
the underlying logging implementation of your choice e.g. (log4j/JDK 1.4
logging/etc) at runtime.  

Take a squiz at the user-guide, its got enough info to get you going both
with using the Logging API and configuration.


> -----Original Message-----
> From: Antony Paul []
> Sent: Friday, 7 November 2003 1:04 AM
> To:
> Subject: Log4j - confused
> Hi,
>     Today I looked on documentation on 
>  to
> learn to use it and find that it is called log4j and 
> downloaded files are
> commons logging . I believe both are same. Links provided in the
> documentation pages that I checked is talking about log4j and 
> importing
> packages in log4j package which I can't find in the 
> downloaded binary. Also
> downloaded binary contains two jar files. I think 
> commons-logging-api.jar is
> to be included in the classpath. Also Tomcat is having this in its lib
> folder. FAQ says to look at examples folder for examples but 
> binary and
> source does not contain any examples folder. So how I could 
> start using
> log4j or commons logging. ?
> Antony Paul
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message