Re: FixedWindowRollingPolicy

2010-03-24 Thread Curt Arnold
Renaming on Windows might be substantially slower, but I don't have any numbers. Regardless, it would seem to be better to accept the declared intention of the configuration. On Mar 23, 2010, at 10:45 AM, Doal Miller wrote: > I took the FixedWindowRollingPolicy from the extras jar and changed

Re: Log4j Count the number of record with timestamp

2010-03-24 Thread Michael Erskine
On 24 March 2010 08:29, mrkamran82 wrote: > Alternately,i will have to write another java program who will take files as > input,read the files one by one,count the no of records/transactions > contained in a single file and write duplicate file with number of > count/lines in the first line and b

Log4j Count the number of record with timestamp

2010-03-24 Thread mrkamran82
Hi, I want to use log4j to write transactions/records into file. One transaction/log per line is required but in the beginning of file i need to write the count value i.e. the number of transactions/records contained in the file. Is there any efficient way to do this through log4j i.e. to count t