File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Advanced logging in JSP" Watch "Advanced logging in JSP" New topic
Author

Advanced logging in JSP

zohaib khan
Greenhorn

Joined: Apr 13, 2009
Posts: 22
Hi,

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
Zohaib.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

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