the latest version of log4j already supports the new
logging API.  The implementation for log4j is more
mature and has been around for a long time. The
reference implementation for the standard logging API
is newer and has been tested as much. Log4J also comes
with rolling appenders, which can roll the log based
on day, week, month or hours.

commons logging uses log4J I believe, so it's the best
choice for logging in my biased opinion. just look at
the samples included in log4j. they're use friendly.

peter



--- "Arachtingi, Mike"
<[EMAIL PROTECTED]> wrote:
> Can you give me the lay of the land regarding log4j?
>  I was under the
> impression that java.util.logging was the way to go
> for the future.  It
> (java.util.logging) appears to be a newer, more
> refined package.
> 
> -----Original Message-----
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, February 19, 2003 8:19 AM
> To: Tomcat Users List
> Subject: RE: Best Logging practices
> 
> 
> Howdy,
> Listen to Jacob -- I wish more people did what he
> recommended in his
> post.  Also use log4j. ;)
> 
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-----Original Message-----
> >From: Manavendra Gupta [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, February 19, 2003 2:30 PM
> >To: Tomcat Users List
> >Subject: Best Logging practices
> >
> >Any pointers/thoughts about web application logging
> practices? You
> >generally
> >see almost each individual with different opinion
> about this (from
> logging
> >into the system temporary directory to inside
> WEB-INF).
> >
> >Are there any best practices for this?
> >
> >Thanks,
> >Manav.
> >
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
> 
> This e-mail, including any attachments, is a
> confidential business
> communication, and may contain information that is
> confidential,
> proprietary and/or privileged.  This e-mail is
> intended only for the
> individual(s) to whom it is addressed, and may not
> be saved, copied,
> printed, disclosed or used by anyone else.  If you
> are not the(an)
> intended recipient, please immediately delete this
> e-mail from your
> computer system and notify the sender.  Thank you.
> 
> 
>
---------------------------------------------------------------------
> 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]
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to