Re: best practice for "actively" triggering future events

2005-05-10 Thread Glen
wanting to support? On May 6, 2005, at 2:32 PM, Glen wrote: Hi All, I have run into the following scenario many times. That is how to trigger a future event that you want to happen at a specific time. I have noticed that the general practice is a passive approach, Wait for a log event to happen and

best practice for "actively" triggering future events

2005-05-06 Thread Glen
's to know about this in advance. Just wondering people's thoughts on a more robust generic solution. Could be something as simple as log4j keeping a single java.util.Timer that appenders can register callbacks with. cheers, Glen PS I thought I saw an example of this in the log4j c

another contrib possibility ThreadLocalAppender

2005-05-06 Thread Glen
Hi looking through my log4j stuff I have another possible appender contrib that it would be great to get some comments on. It is a ThreadLocalAppender that allows you to register (and de-register) other appenders on a per thread basis. One place where I use it is in a servlet container we log e

Re: contribs and how does it work

2005-05-06 Thread Glen
The main use case for HouseKeepingFileAppender is to have the logs there if needed but if not needed for the code to keep it's house clean over long periods of time. As I said before these are photo kiosks and they can go months without anyone touching them so we don't want to fill up the disk

Re: contribs and how does it work

2005-05-06 Thread Glen
Great I took you up on the TriggeringEventEvaluator already ;-) putting some thought to the RollingFilePolicy should have something soon enough... Curt Arnold wrote: On a similar note, HouseKeepingFileAppender might be better done as a RollingPolicy for the log4j 1.3 RollingFileAppender framewor

is HEAD the 1.3 branch

2005-05-06 Thread Glen
Looking to checkout the 1.3 code base. Where can I find this? Apologies if this is documented somewhere I did a feeble search for this info. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: contribs and how does it work

2005-05-06 Thread Glen
ggeringEventEvaluator that meets your 'don't send for 5 minutes' policy. Scott -Original Message- From: Mark Womack [mailto:[EMAIL PROTECTED] Sent: Thu 5/5/2005 10:25 AM To: 'Log4J Developers List' Cc: Subject:RE: contribs and how does it work Glen

contribs and how does it work

2005-05-05 Thread Glen
in and developed for 100 photo kiosks operating 7x24... cheers, Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]