> I think RollingFileAppender does that except that it does it by size,
> not by run.  Could whatever starts your program rename the log files
> before starting?
>

I guess that you could use the RoolingFileAppender from the JBOSS group,
because it delivers in standard the exact feature expected!!!

HTH
Jerome
> shirish <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I have a reqmt for a stand alone java client to output the log to a log
>> file.
>> This log file should be created per run of the java client.
>> The earlier log file should be renamed with an incremental integer
>>
>> for e.g
>>
>> applog.log is already existing
>> next run of the client should generate applog.log and rename the earlier
>> applog.log to applog1.log and so on .
>>
>> Can this be done through log4j
>>
>> Regards...
>
> --
> James Stauffer
> http://www.geocities.com/stauffer_james/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Auteur cahier du programmeur J2EE - Decembre 2004
http://www.amazon.fr/exec/obidos/ASIN/2212115741/qid=1105361289/sr=1-1/ref=sr_1_8_1/171-9571438-3966654



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to