Re: [log4perl-devel] Sending email of logs only on failure

2008-11-06 Thread Mike Schilli
On Thu, 6 Nov 2008, Mathieu Longtin wrote: > I have a program that processes a bunch of separate items, logging stuff as > it goes. I would like to be able to capture what gets logged during the > processing on one item, and email the whole thing if the processing failed. > The log messages should

[log4perl-devel] Sending email of logs only on failure

2008-11-06 Thread Mathieu Longtin
I have a program that processes a bunch of separate items, logging stuff as it goes. I would like to be able to capture what gets logged during the processing on one item, and email the whole thing if the processing failed. The log messages should go to a file regardless. Is there a way to do that