Spider wrote:
begin quote
On Thu, 27 Nov 2003 05:52:19 -0500
Aaron Walker <[EMAIL PROTECTED]> wrote:
I was wondering about the old gzipped log files that logrotate (I
assume) generates. Do they get cleaned up automatically? If not,
should I just create a cron job that does "rm -f /var/log/*.gz" say
once a month?
if you actually use logrotate (this depends on your logger and config.
in Gentoo you have to manually install logrotate to make it work) it
will be defined in logrotate's config file for how long to keep logs.
its the "rotate" statement in /etc/logrotate.conf
For sysklogd, I don't know how many are the default, I think 10?
Metalog I have no clue about.
//Spider
Slightly off-topic, but I would sincerely recommend using Metalog. I
started using it when I switched all my boxes to Gentoo (used Redhat &
Mandrake before), and it's great: simple to configure and install, does
rotation all by itself and optionally buffers log output for better
performance. It's worth checking out: http://metalog.sourceforge.net/
--
< �yvind Stegard <[EMAIL PROTECTED]>
< University of Oslo, Dept. of informatics.
< http://www.stegard.net/
< "Education: the path from cocky ignorance
< to miserable uncertainty." - Mark Twain
--
[EMAIL PROTECTED] mailing list