Re: Trimming down of /var/log/messages
On Mon, Sep 04, 2000 at 01:51:50PM +0900, Olaf Meeuwissen wrote:
> USM Bish <bish@nde.vsnl.net.in> writes:
>
> > Is there a recommended way wherein I keep the log for the
> > last seven days only, with some process at boot-up or cron ?
>
> Seems like logrotate will fit your bill.
>
> Package: logrotate
> Priority: important
> Section: admin
> Conffiles:
> /etc/logrotate.conf 70593fe48cb39133328b42a560b5a8cf
> Description: Log rotation utility
> The logrotate utility is designed to simplify the administration of
> log files on a system which generates a lot of log files.
> Logrotate allows for the automatic rotation compression, removal
> and mailing of log files. Logrotate can be set to handle a log
> file daily, weekly, monthly or when the log file gets to a certain
> size. Normally, logrotate runs as a daily cron job.
>
Thanks for the input. I'll try to do an apt-get
for logrotate if I get a Slink binary on one of
the debian mirrors. Should be a handy thing to
try out.
USM Bish
Reply to: