[99243] in RedHat Linux List
Re: Log files management
daemon@ATHENA.MIT.EDU (Bob Taylor)
Fri Nov 13 03:03:11 1998
From: Bob Taylor <brtaylor@inreach.com>
To: redhat-list@redhat.com
In-reply-to: Your message of "Fri, 13 Nov 1998 10:18:12 +0500."
<3.0.2.32.19981113101812.0069badc@rhino.cyber.net.pk>
Date: Thu, 12 Nov 1998 23:52:12 -0800
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
In message <3.0.2.32.19981113101812.0069badc@rhino.cyber.net.pk>, Azfar Kazmi w
rites:
> Hi,
>
> How to properly and safely manage log files in RH 4.2? Files like messages,
> cron, secure, wtmp, etc. grow rapidly. I assume that I should not just
> clear them up manually [forcefully.] Am I right? How can I keep them to a
> particular size?
>
> Also, wtmp is an exception. Since its not a text file therefore there must
> be a way to keep it small!!
You want logrotate. It should be on 4.2 CD (IIRC). It takes care of wtmp
also.
Bob
--
+---------------------------------------------------------------+
| Bob Taylor Email: brtaylor@inreach.com |
|---------------------------------------------------------------|
| Like the ad says, at 300 dpi you can tell she's wearing a |
| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you |
| can tell it's painted on. I suppose at 2400 dpi you can tell |
| if the paint is giving her a rash. (So says Joshua R. Poulson)|
+---------------------------------------------------------------+
--
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.