[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Limiting the size of log files



Mahendra M wrote:

> Hi,
>         I would like to know if the size of the log file ( /var/log/messages )
> can be controlled in any way.
> -Mahendra
> --------------------------------------------------------------------
> The Linux India Mailing List Archives are now available.  Please search
> the archive at http://lists.linux-india.org/ before posting your question
> to avoid repetition and save bandwidth.

ON RH logrotate will help . Do a man on logrotate. In fact on RH it is already
configured for files in
/var/log and is scheduled as a cron job. The logrotate.conf file is in /etc
--

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.