This can do most of what you want. You may still have to cache the complete output for inclusion in the email.
A good quick intro is here: http://www.perl.com/pub/a/2002/09/11/log4perl.html
~J
In reply to Re: Multiplexing STDOUT and STDERR
by jmanning2k
in thread Multiplexing STDOUT and STDERR
by kilinrax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |