ONJava.com: Reporting Application Errors by Email talks about logging your application errors via an smtp appender for log4j or java.util.logging. Please consider what I wrote ealier on about the 10500 Messages in my inbox.
What did I learn?
- Do not use an active notification if the error is permanent.
- Do not report the same error again and again.
- Write some log4j appender that would filter or aggregate the messages in this case. ;-)
0 Responses to “Take care when logging via email!”