coke4all has asked for the wisdom of the Perl Monks concerning the following question:
Hi there,
I have a question about log4perl and message buffering
Currently i have implemented a Moose based Distribution, which will be used by my perl-script. My question now is how can i collect all error/warning/info messages throughout all used modules and send this as a mail-digest at the end of the perl-script in ONE Message? Is there a clever way to do this - because i think this must be a standard problem; but i have not found some solution in the web ....?
The point is: i do NOT want sending the mail out right now, when the error/warning/info happens. I just want to collect it for sending the mail at the end.
Do i really have to write a own Appender for this?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: log4perl collecting (buffering) messages
by Neighbour (Friar) on Mar 13, 2013 at 12:39 UTC | |
by coke4all (Novice) on Mar 13, 2013 at 16:30 UTC | |
|
Re: log4perl collecting (buffering) messages
by McA (Priest) on Mar 13, 2013 at 17:08 UTC | |
by coke4all (Novice) on Mar 14, 2013 at 10:11 UTC | |
by McA (Priest) on Mar 14, 2013 at 10:53 UTC | |
by coke4all (Novice) on Mar 14, 2013 at 11:44 UTC | |
|
Re: log4perl collecting (buffering) messages (Log::Log4perl::FAQ)
by Anonymous Monk on Mar 14, 2013 at 00:34 UTC | |
by coke4all (Novice) on Mar 14, 2013 at 10:17 UTC |