This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 15639
    
  15

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
problems with sending emails
Unknown host exception