Davide Libenzi pravi: > 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
Yes, but what I want is for the logs to have allways the same name and not name+date. I am administering my server thru Webmin and it has option for system logs, so I am able to setup a log view but it has to have permanent name. Sasa - 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]
