I'm using log4perl in FCGI scripts that are semi-persistent, they go up and
down depending on load.
I have an appender that sends email and I'd like it to be buffered. However if
I set it to buffered the emails are never sent, except sometimes when the
process is killed. If I disable buffering it works fine but the messages are
split up into too many individual emails.
I think perhaps what I need is to enable buffering at the start of each
request, and disable it at the end of the request, is there some way to do this
or does someone have another solution?
I took a look at some of the information for mod_perl but it doesn't quite seem
to pertain, and in my case the FCGIs are only persistent for a number of
requests then eventually exit.
cheers for any advice
Danny
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel