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.
--------------------------------------------------------------------------
|