Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advanced logging in JSP

 
zohaib khan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18302
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic