Geeks With Blogs
Sean Carpenter Thoughts on Development November 2010 Entries
Gmail Logging with log4j 1.2.16
Log4j includes an SMTP appender that can be used to send logging messages via email. As of log4j 1.2.16, this built-in appender has the ability to send messages via Gmail. Here is an example log4j configuration that uses Gmail to send logged messages: log4j.rootLogger=DEBUG, gmail log4j.appender.gmail=org.ap... log4j.appender.gmail.SMTPPr... log4j.appender.gmail.SMTPUs... log4j.appender.gmail.SMTPPa... log4j.appender.gmail.SMTPHo... ......

Posted On Friday, November 26, 2010 3:03 PM

Copyright © Sean Carpenter | Powered by: GeeksWithBlogs.net