Sean Carpenter

Thoughts on Development

  Home  |   Contact  |   Syndication    |   Login
  16 Posts | 1 Stories | 1 Comments | 6 Trackbacks

News



Twitter












Archives

Post Categories

About

November 2010 Entries

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...