Re: [log4perl-devel] log4perl buffering with semi persistent scripts

2011-12-07 Thread Danny Dev
December 7, 2011 9:19 AM Subject: Re: [log4perl-devel] log4perl buffering with semi persistent scripts >You didn't mention the email appender that you are using, specific >solutions would require looking into the appender's documentation and >figure out if it provides a met

Re: [log4perl-devel] log4perl buffering with semi persistent scripts

2011-12-07 Thread Danny Dev
>You didn't mention the email appender that you are using, specific >solutions would require looking into the appender's documentation and >figure out if it provides a method to flush buffered/pending messages. >If that's available, then I'd recommend encapsulating request handling >into a functio

Re: [log4perl-devel] log4perl buffering with semi persistent scripts

2011-12-06 Thread Mike Schilli
On Tue, 6 Dec 2011, Danny Dev wrote: 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? You didn't mention the email appender that you are using, specific

[log4perl-devel] log4perl buffering with semi persistent scripts

2011-12-06 Thread Danny Dev
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 bufferin