ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Reporting Application Errors by Email
Subject:   Can I display the error message in the mail subject?
Date:   2009-09-18 02:14:44
From:   Domaniczky Lajos
Response to: Can I display the error message in the mail subject?

The default implementation does not allow you to have dynamic info in the subject concerning the exception. Though, it is fairly easy to implement this, see http://lajosd.blogspot.com/2009/09/log4j-smtpappender-exception-info-in.html