Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging Exceptions and Notifications in Production Environment  RSS feed

 
Sunny Kumar Kalra
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Regards
Jatan
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!