This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

Need info about servlet log file

vishnu mohan

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

Joined: Nov 27, 2001
Posts: 1561

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.
Have you checked out Aspose?
subject: Need info about servlet log file
jQuery in Action, 3rd edition