A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Mock exam question doubt?
Debugging Best Practices??
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