This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSP and the fly likes Advanced logging in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Advanced logging in JSP" Watch "Advanced logging in JSP" New topic

Advanced logging in JSP

zohaib khan

Joined: Apr 13, 2009
Posts: 22

I have used NLog in .Net application and feature to send email to administrator when exception occurs in application.

I have JSP and Oracle application. I am looking for Advanced logging tool to send email to administrator when exception occurs in application.

I found Log4j ( but no idea how to make it working with JSP and oracle application to send exception message in email to administrator?

- Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16901

Actually, if your JSPs have so much logic in them that they need logging, it's very likely that your JSPs have too much logic in them.

We do have a forum that covers Log4j. They can help you configure your Log4j config file to email exceptions.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Advanced logging in JSP
It's not a secret anymore!