in reply to log4perl collecting (buffering) messages
http://search.cpan.org/perldoc/Log::Log4perl::FAQ#How_can_I_configure_Log::Log4perl_to_send_me_email_if_something_happens?
log4perl.appender.Mailer = Log::Dispatch::Email::MailSend
log4perl.appender.Mailer.to = drone@example.net
log4perl.appender.Mailer.subject = Something's broken!
log4perl.appender.Mailer.layout = SimpleLayout
Its unclear from the documentation when the email is sent, but its not immediately
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: log4perl collecting (buffering) messages (Log::Log4perl::FAQ)
by coke4all (Novice) on Mar 14, 2013 at 10:17 UTC |