Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
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.
Have you tried LearnNowOnline?
subject: ServletContext.log Vs log4j
Debugging Best Practices??
Mock exam question doubt?
error when i run log file
how to log errors occurred in backend java engine or servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015