i followed instructions here http://www.techienuggets.com/Detail?tx=33 to create configurations such that log4j will send emails containing Error messages to a certain email.
log4j.appender.Mail=org.apache.log4j.net.SMTPAppender log4j.appender.Mail.SMTPHost=smtp.gmail.com log4j.appender.Mail.SMTPUsername=xxxxxxx log4j.appender.Mail.SMTPPassword=xxxxxxx log4j.appender.Mail.To=xxxxxxxx log4j.appender.Mail.From=xxxxxx log4j.appender.Mail.Subject=Error Messages log4j.appender.Mail.layout=org.apache.log4j.PatternLayout log4j.appender.Mail.layout.ConversionPattern=%d{ISO8601} %p %C{1} %L - %m%n log4j.appender.Mail.threshold=ERROR
im very sorry. i dunno how it happened but it looks like there are 4 copies of this thread. mods please delete 3 and leave 1. thanks!