[96026] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: What's the best way to trim log files?

daemon@ATHENA.MIT.EDU (Anthony E. Greene)
Fri Oct 23 07:14:27 1998

Date: Fri, 23 Oct 1998 12:49:10 +0200
To: redhat-list@redhat.com
From: "Anthony E. Greene" <agreene@pobox.com>
In-Reply-To: <199810221645.MAA02543@brazil.ca.boeing.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

At 09:45 1998-10-22 -0700, Raymond H. Kraft wrote:
>I've got some log files that are getting rather large, and was wondering
what 
>the best was is to trim them down.

Configure logrotate rotate the logs weekly (or more often) and tell it how
many iterations to keep.

man logrotate


 Tony
 --
 Anthony E. Greene <agreene@pobox.com>
 Homepage and PGP Key: <http://www.pobox.com/~agreene/>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post