wood burning stoves 2.0*
The moose likes Struts and the fly likes Logging Exceptions and Notifications in Production Environment 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 » Frameworks » Struts
Bookmark "Logging Exceptions and Notifications in Production Environment" Watch "Logging Exceptions and Notifications in Production Environment" New topic
Author

Logging Exceptions and Notifications in Production Environment

Sunny Kumar Kalra
Greenhorn

Joined: Oct 10, 2010
Posts: 15
Hi,

I have a query: When there are some exceptions coming in production environment, what all methods could we use to notify the exceptions to some list of persons in real time ? Means as soon as the exception occur , concerned person should get notified (may be by email) ? I know for email we can use JavaMail API but to reach till EMAIL code what all methods/conditions/ways we can use ?
jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 296

Hi,

SMTPAppender from log4j provides the facility to sending email whenever the error occurred in the application.

Regards
Jatan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logging Exceptions and Notifications in Production Environment
 
Similar Threads
Conditional Logging
EJB3: standalone session bean?
JDO Exception
Assertions
Enable reloading