Hi,

Before I stumbled upon Log4J Extras I had written a composite 
time-and-size-based appender against the 1.2.14 code.  The code is freely 
available at http://www.simonsite.org.uk.

The
 question is: is this actually useful?  Is it worth contributing?  I'd welcome 
feedback.

My code clearly isn't very flexible since it only tries to do one
thing, i.e. it rolls log files based upon the twin criteria of time and
size.  However, this appender has an additional feature that might make
it useful.  It incorporates a file scavenger to remove older log files
once a configurable number of log files has been exceeded.  The idea
here is to avoid the need to manage log files by deleting older files
manually, via batch scripts or other methods.

Many thanks,

Simon






      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

Reply via email to