wood burning stoves 2.0*
The moose likes Servlets and the fly likes Need info about servlet log file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need info about servlet log file" Watch "Need info about servlet log file" New topic
Author

Need info about servlet log file

vishnu mohan
Greenhorn

Joined: Feb 01, 2002
Posts: 14
Hi,
How do u i write the exception info to a log file?
kindly give me a sample code for that.
Thanks and regards
Vishnu
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hhhmmmm


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Mandy Smith
Ranch Hand

Joined: Jun 26, 2001
Posts: 62
You can use Log4J from jakarta project. Here is the link to download.
http://jakarta.apache.org/log4j/docs/download.html
 
 
subject: Need info about servlet log file