[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Managing Log files



Eileen Orbell <eileen@orbell.com> wrote:
>After viewing some of my logs in /var/log I see that some are really large 
>in size.  Because I am still learning as I guess we are, is there a easy 
>way to manage log files and there size.  I assume there is some way to have 
>the contents removed that is older than a certain date.  I would not see a 
>need for any information more than 1 month old in my case.

See 'man logrotate', /etc/logrotate.conf, and /etc/logrotate.d/*. Oh,
and there's also a program called 'savelog' which manages a lot of the
files in /var/log. They're called from various scripts in /etc/cron.*.

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: