Re: rotar los logs
On Thursday 17 October 2002 14:06, deiviz wrote:
> dificil consultarlos. Alguien sabria como borrar los archivos de logs
> dejandolos vacios??
Echale un vistazo a logrotate:
Log rotation utility
The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files. Logrotate
allows for the automatic rotation compression, removal and mailing of
log files. Logrotate can be set to handle a log file daily, weekly,
monthly or when the log file gets to a certain size. Normally,
logrotate runs as a daily cron job.
Jose
--
José L Gómez Dans PhD student
Tel: +44 114 222 5582 Radar & Communications Group
FAX; +44 870 132 2990 Department of Electronic Engineering
University of Sheffield UK
Reply to: