I want to explore how using log4j for email alerts in an application is feasible but how well it works in a real application.
The idea came from the fact that a team I work with change the rules for alerts on a regular basis based on the work and the situations they are caught in. It is clear that we have to stop changing the code to accommodate the new rules they give us.
Log4j is a possibility and I found this blog post that talks about it:
http://www.srccodes.com/p/article/18/send-logs-by-email-notification-using-apache-log4j-smtpappender