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

Re: Controlling kernel log size



On 2004-07-30, Bruno Diniz penned:
> Hi all,
>
> looking into my /var/log, I noticed that kern.log and syslog were
> taking a lot of space. After inspecting this files, I figured out that
> they were keeping 4 weeks of entries. I don't need that much, so how
> can I reduce the number of weeks kept in this logs? I tried to change
> the /etc/logrotate.conf file (rotate 4 -> rotate 2) with no success.

Do those logs have their own configuration stanzas in your
logrotate.conf?

Also, even if it's only keeping two instead of four log files around, it
won't delete the two extra that it's no longer maintaining, I don't
think ...

-- 
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html



Reply to: