As a follow up to my question about metering SMTP messages, I was
thinking about the possibility of creating a custom Evaluator that works
on elapsed time.  Whereas the LevelEvaluator triggers on a particular
level of message, this evaluator would trigger on a specified elapsed
time.

 

In the case of and SMTP appender, an 'ElapsedTimeEvaluator' would wait
for a specified period of time before sending an e-mail with all the
messages in it's buffer.

 

Has anyone attempted to create a custom evaluator?  Has anyone ever see
a similar custom implementation for log4net?  Ideas, comments?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

Reply via email to