[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] log files
- Subject: RE: [cobalt-users] log files
- From: "Paul Shuttleworth" <paul@xxxxxxxxxxxxxx>
- Date: Thu Dec 5 04:14:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Globalband
> Networks Support
> Sent: 05 December 2002 06:26
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] log files
>
>
> Can someone tell me how do I clear my log files, my mail log has been
> building up since 7/02 and I would like to clear it or does it
> automatically
> delete as it reached a certain size.
>
> Thank you in advance.
>
> Cynthia
>
Try LOGROTATE you can get details by doing
man logrotate
from the telnet/ssh prompt
in the /etc/cron.daily/logrotate (probably) you will see the various
logrotate rules you can edit or create new rules to compress logs for each
site upon reaching xx mb in size etc, etc.
It should set these up automatically but I have found on our Raq4s that
sometimes some manual tweaking is needed.
Regards
Paul.