[96093] in RedHat Linux List
Re: What's the best way to trim log files?
daemon@ATHENA.MIT.EDU (Statux)
Fri Oct 23 18:10:10 1998
Date: Fri, 23 Oct 1998 18:07:58 -0400
From: Statux <statux@bigfoot.com>
Reply-To: statux@bigfoot.com
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
I've always found that the best way to trim logfiles is with a text
editor :)
Anthony E. Greene wrote:
>
> 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.
--
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.