You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Taranbir I Singh <ta...@in.ibm.com> on 2005/09/22 19:06:15 UTC

Fix Size - Only One Log File...

Hi, 

I want to use a Logging mechanism in which:

1. In which I want to fix the log. size... (Lets say X)
2. If the log exceeds that size (X) then old entries in the files should 
be deleted...

At any moment the log size should not increase X and no second log file 
should be created...

Which is the best way to achieve this...

Taran