A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
ServletContext.log Vs log4j
Joined: Oct 02, 2003
Oct 25, 2005 01:20:00
I just wanted to know what are the differece between log4j and ServletContext.log();
Even though the
API has options for logging in the msgs, why do most of the people use log4j?
Joined: Aug 15, 2004
Oct 25, 2005 03:09:00
Because most of the time we want to log messages not just from the servlet but also in business tire, and database tier. Log4J is meant for that, therefore we prefer Log4J over,
The substitute would be java.util.logging.
I agree. Here's the link:
subject: ServletContext.log Vs log4j
Debugging Best Practices??
Mock exam question doubt?
how to log errors occurred in backend java engine or servlet
error when i run log file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014