Qmail
[Top] [All Lists]

Re: multilog s16777215 limit

To: qmail@list.cr.yp.to
Subject: Re: multilog s16777215 limit
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Mon, 27 Nov 2006 19:43:29 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <20061127171313.530984.8468acac@strangecode.com>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <20061127171313.530984.8468acac@strangecode.com>
User-agent: Mutt/1.5.11
Quinn Comendant <quinn@strangecode.com> wrote:
> I just learned that multilog has a maximum file size limit of 16777215
> bytes. For me that hardly saves 5 hours of SMTP traffic. I'm looking for a
> way to save 24 hours of data

Increase the number of files.  You'd need to patch multilog to make it use a
larger maximum size; others have done this.

> rather than doing it by a filesize limit...

The djb way to do this is to log to more files (i.e., keep 40 (or 400) 16MB
files), then extract whatever time span you want from them.

Another common way is to increase the maximum file size by patching multilog,
then force it to manually rotate the log file once a day.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>