You could use the DailyRollingFileAppender with a DatePattern of '.'yyyy-w
where w is the week in year (see SimpleDateFormat).



-----Original Message-----
From: Sanchez, Kenny J [mailto:[EMAIL PROTECTED] 
Sent: 22 March 2006 17:17
To: '[email protected]'
Subject: File Size and Retention
Importance: High

 
Hello!!
 
How can I do the following:
 
I would like to create a log file and would like to SET THE FILE SIZE and
RETENTION period.
 
I would like to set the file size to 500KB and only save a weeks worth of
that file.  
 
Can someone point me in the right direction/send me an example???
 
Thanks,
 
Kenny
 


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

Reply via email to