Antony,
You should take a look at Jakarta Commons - Logging.
http://jakarta.apache.org/commons/logging.html
"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.
http://jakarta.apache.org/commons/logging/userguide.html
Gary
> -----Original Message-----
> From: Antony Paul [mailto:[EMAIL PROTECTED]
> Sent: Friday, 7 November 2003 1:04 AM
> To: [EMAIL PROTECTED]
> Subject: Log4j - confused
>
>
> Hi,
> Today I looked on documentation on
> http://jakarta.apache.org/log4j 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]