From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/614 Path: main.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: svlogd: blocking on ENOSPC Date: Tue, 2 Nov 2004 15:04:18 +0000 Message-ID: <20041102150238.3135.qmail@80169e88eb932f.315fe32.mid.smarden.org> References: <20041018173902.24555.qmail@9227b11f156c29.315fe32.mid.smarden.org> <20041101220029.GQ32116@digitus> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099407800 1486 80.91.229.6 (2 Nov 2004 15:03:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Nov 2004 15:03:20 +0000 (UTC) Original-X-From: supervision-return-853-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Nov 02 16:03:04 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CP0Bc-0002lm-00 for ; Tue, 02 Nov 2004 16:03:04 +0100 Original-Received: (qmail 7582 invoked by uid 76); 2 Nov 2004 15:03:23 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 7577 invoked from network); 2 Nov 2004 15:03:23 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20041101220029.GQ32116@digitus> Xref: main.gmane.org gmane.comp.sysutils.supervision.general:614 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:614 On Mon, Nov 01, 2004 at 11:00:29PM +0100, Csillag Tam?s wrote: > On 10/18, Gerrit Pape wrote: > > Here's a patch that makes svlogd remove the oldest of rotated log > > files in the log directory in case the disk is full. In the worst > > case only the current logfile will be left. I would be interested > > in your opinions. > Interesting, It would be nice as a command line switch like '-d' (or > maybe even better another line in config?) So the admin can decide > what is more important to keep the service always up or to be sure the > logs are preserved. > > If you turn on debugging on one service (e.g. openldap) it is better > to remove only it's logs and not the others (e.g. auth logs). > > What do you think? I think it should be a line starting with ``N'' in the config file to optionally specify the minimum number of older log files to be kept in case the filesystem is full. By default it's equal to the maximum number of files. Regards, Gerrit.