[99238] in RedHat Linux List

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

Re: Log files management

daemon@ATHENA.MIT.EDU (Hossein S. Zadeh)
Fri Nov 13 01:55:33 1998

Date: Fri, 13 Nov 1998 17:55:04 +1100 (EST)
From: "Hossein S. Zadeh" <hossein@bf.rmit.edu.au>
To: redhat-list@redhat.com
In-Reply-To: <3.0.2.32.19981113101812.0069badc@rhino.cyber.net.pk>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Fri, 13 Nov 1998, Azfar Kazmi wrote:

> 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!!

Try logrotate to, obviousely, rotate the logs :-)

Try logwatch and/or logcheck to have a summary of what's happening emailed
to you. Very neat.

cheers,
Hossein

,-----------------------------------------------------------------------,
|          ...Mary had a little ram and Windows was so slow...          |
|-----------------------------------------------------------------------|
|                            Hossein S. Zadeh                           |
|                         hossein@bf.rmit.edu.au                        |
|-----------------------------------------------------------------------|
| Dept of Aerospace Engineering    | RMIT-Faculty of Business           |
|  (YES! I AM a rocket scientist!!)|    (YES! I AM in business!!)       |
|                                                                       |
| Royal Melbourne Institute of Technology (RMIT), Melbourne, Australia  |
'-----------------------------------------------------------------------'





-- 
  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