Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: log4perl collecting (buffering) messages

by Neighbour (Friar)
on Mar 13, 2013 at 12:39 UTC ( #1023186=note: print w/replies, xml ) Need Help??

in reply to log4perl collecting (buffering) messages

Or you could just use a standard appender and log to file. Then setup a scheduled job that mails the file at specific times.
  • Comment on Re: log4perl collecting (buffering) messages

Replies are listed 'Best First'.
Re^2: log4perl collecting (buffering) messages
by coke4all (Novice) on Mar 13, 2013 at 16:30 UTC

    first of all - thanks for your reply ...

    but i thought, there is a more elegant solution included in log4perl .... hmmm ... it seams that i have to write a own appender for collecting and buffering the messages till i send it at the end of the script.

    the point is that i do NOT want to write to disk and do NOT pass a message-string through all used modules (concatenating all messages).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023186]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-02-19 06:46 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (258 votes). Check out past polls.