logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burton Strauss" <Bur...@SmallNetSolutions.com>
Subject RE: File Size and Retention
Date Wed, 22 Mar 2006 17:59:13 GMT
Check out the RollingFileAppender.
-----Burton 

-----Original Message-----
From: Sanchez, Kenny J [mailto:Kenny.Sanchez@gs.com] 
Sent: Wednesday, March 22, 2006 11:17 AM
To: 'log4j-user@logging.apache.org'
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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message