aspose file tools*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Need info about servlet log file