Re: rotar los logs
On Thu, 2002-10-17 at 17:53, José Luis Gómez Dans wrote:
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
Ya he investigado, pero esque por mas que lo intento no consigo hacer
funcionar logrotate. Si alguien lo ha utilizado alguna vez...
Reply to: