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 Murach's Java Servlets and JSP this week in the Servlets 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 (http://en.wikipedia.org/wiki/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: 15950

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: http://aspose.com/file-tools
subject: Advanced logging in JSP
Similar Threads
problem with sending mail
problem with sending mail
Is outOfMemory error always logged
Unknown host exception
problems with sending emails