From owner-freebsd-hackers Mon Oct 29 10:33:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from straylight.ringlet.net (sentinel.office1.bg [217.75.129.210]) by hub.freebsd.org (Postfix) with SMTP id 9CC0737B403 for ; Mon, 29 Oct 2001 10:33:10 -0800 (PST) Received: (qmail 948 invoked by uid 1000); 29 Oct 2001 18:33:01 -0000 Date: Mon, 29 Oct 2001 20:33:01 +0200 From: Peter Pentchev To: Leo Bicknell Cc: hackers@FreeBSd.org Subject: Re: syslogd and kqueue Message-ID: <20011029203301.A810@straylight.oblivion.bg> Mail-Followup-To: Leo Bicknell , hackers@FreeBSd.org References: <20011026233957.A9925@parhelion.firedrake.org> <20011026200436.A61058@xor.obsecurity.org> <20011027043342.A18231@parhelion.firedrake.org> <20011027001704.B2586@coffee.q9media.com> <20011027002622.C2586@coffee.q9media.com> <20011028180643.B59388@dragon.nuxi.com> <3BDCCFB2.1E5CFC49@mindspring.com> <20011029131629.A16899@ussenterprise.ufp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011029131629.A16899@ussenterprise.ufp.org>; from bicknell@ufp.org on Mon, Oct 29, 2001 at 01:16:29PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 29, 2001 at 01:16:29PM -0500, Leo Bicknell wrote: > On Sun, Oct 28, 2001 at 07:40:34PM -0800, Terry Lambert wrote: > > The _useful_ thing to do would be to roll the newsyslog > > functionality into syslogd; however, as a .conf file that > > is expected to be distributed over NIS, I think that doing > > the syntax change is probably a bad idea... > > After seeing all the mess here, I'll make a recomendation. Perhaps > it's time to write a whole new tool that combines syslogd and > newsyslog and some other functionality all in one place, and fixes > all of the issues that have been put forth here. Since it's a new > tool, it can start from a clean slate, and needs no compatability > features. Both can be included for a suitable transition period, > and eventually syslogd could die. I've been thinking for some time about a tool that gathers log lines like syslogd, then passes them to DJB's multilog (part of the daemontools package, http://cr.yp.to/daemontools). multilog already can rotate logs, limit both the total size and each individual file's size, log various messages to various locations; it also does all of this in real time, so it is not subject to DoS's between two rotations. I'll try to get around to writing the syslogd-like message gathering thing sometime soon.. G'luck, Peter -- If this sentence were in Chinese, it would say something else. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message