[Mailman-Users] size of log files

Jon Carnes jonc at haht.com
Tue Apr 23 21:58:17 CEST 2002

----- Original Message -----
From: "J C Lawrence" <claw at kanga.nu>
To: "Mark Moshe Kaye" <jotd2k at yahoo.com>
Cc: <Mailman-Users at python.org>
Sent: Tuesday, April 23, 2002 3:15 PM
Subject: Re: [Mailman-Users] size of log files

> On Tue, 23 Apr 2002 12:04:32 -0700 (PDT)
> Mark Moshe Kaye <jotd2k at yahoo.com> wrote:
> > What is the best way to deal with log files that have become large,
> > the bounce file in particular is huge.
> logrotate package.

yes, and rotate them at least once a month.  I have summaries sent to me
every week of some of them.

> > If I rename it will mailman notice it is missing and recreate
> > automatically or do I need to create an empty file.
> It will recreate.

Unless the programing has changed since 2.0.6 - Mailman *will not* recreate
them.  Logrotate will recreate them for you though, if you use that for
rotating and deleting old logs.

> > Some advise would be appreciated on best practices for keeping these
> > file sizes under control.

I rotate monthly, keep two past copies, and I run stats on the newly rotated
files on the first of the month to send out reports to the admins.

More information about the Mailman-Users mailing list