On Tue, 16 Mar 2004, Sasa Stupar wrote:

> Hi!
> 
> Is there anyway to make logs to have only three logs from the 
> past-something like for apache where you have access.log, access1.log, 
> access2.log, access3.log and to rotate bettween them?
> Now the logs are not overwriting the old ones and there is a lot of 
> files allready in the logs dir (especially if you have rotation switch 
> to 24 hours).

A cron script that does cleanups (read move and backup) should work just 
fine to keep the logs dir tidy.


- Davide


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to