This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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.
I agree. Here's the link:
subject: Need info about servlet log file
It's not a secret anymore!