Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 05:47:36 +0000
From:      Wes Peters <wes@softweyr.com>
To:        Thomas Quinot <thomas@cuivre.fr.eu.org>
Cc:        Garance A Drosihn <drosih@rpi.edu>, arch@FreeBSD.ORG
Subject:   Re: syslog.conf syntax change (multiple program/host specifications)
Message-ID:  <200302190547.36891.wes@softweyr.com>
In-Reply-To: <20030218173347.GE43307@melusine.cuivre.fr.eu.org>
References:  <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <200302180516.00673.wes@softweyr.com> <20030218173347.GE43307@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 18 February 2003 17:33, Thomas Quinot wrote:
> Le 2003-02-18, Wes Peters =E9crivait :
> > the data among log files in the way newsyslog does.  The "right"
> > way to do this would be to extract the file rotation code into a
> > shared library (librotate - hahaha) and write a simple program to
>
> Yes. That and the code to check whether a given file has met its
> rotation condition.

That's trivial, stat(2) or fstat(2) and compare against the size=20
limit.  I've got that now. ;^)

=2D-=20

        Where am I, and what am I doing in this handbasket?

Wes Peters                                               wes@softweyr.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302190547.36891.wes>