RE: RollingFileAppender with stable filenames?

2005-08-15 Thread Iain.Shepherd
> > So I'd like a RollingFileAppender that uses stable filenames, in > > sequence: > > > > my.log.1 << Deleted, because MaxBackupIndex=2 > > my.log.2 > > my.log.3 > > my.log.4 << Current file > > > > > > There are two different RollingFileAppender implementations > in log4j: > org.apache.log4j

RollingFileAppender with stable filenames?

2005-08-14 Thread Iain.Shepherd
Hi, I'm writing a program which will frequently scan and parse log files. I want to use RollingFileAppender to write them, but I'm not 100% happy with its behaviour. I'd have to allow for all the filenames to change between one scan and the next, or even, conceivably, while I'm actually in the mi