From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1044 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: apache2 logs -> svlogd Date: Tue, 14 Feb 2006 17:58:38 +0200 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20060214155838.GB29956@home.power> References: <20060213173813.GA6585@home.power> <20060213180402.GA30800@wolfpuppy.org.uk> <20060213182520.GE6585@home.power> <20060214142532.GA1378@sta.duo> <20060214144706.GW3065@always.joy.eth.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139933147 5209 80.91.229.2 (14 Feb 2006 16:05:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2006 16:05:47 +0000 (UTC) Original-X-From: supervision-return-1280-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Feb 14 17:05:37 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1F92Zb-0004IJ-C1 for gcsg-supervision@gmane.org; Tue, 14 Feb 2006 16:58:42 +0100 Original-Received: (qmail 20665 invoked by uid 76); 14 Feb 2006 15:59:00 -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 20659 invoked from network); 14 Feb 2006 15:59:00 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060214144706.GW3065@always.joy.eth.net> User-Agent: Mutt/1.5.11 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1044 Archived-At: Hi! On Tue, Feb 14, 2006 at 08:17:06PM +0530, Joshua N Pritikin wrote: > On Tue, Feb 14, 2006 at 09:25:32AM -0500, George Georgalis wrote: > > >Recommended solution was put 'sleep 1' before svlogd, but for me it's a > > >little ugly and unreliable. > > What isn't ugly about creating named pipes? I don't think the named > pipe solution wins the beauty contest either. Named pipes... In short, I think named pipes is better because: - this is universal solution which can be used for any daemon which prefer to write log files itself, for example: Xorg :) , xdm, ntpd, emerge :) , iptraf, mysql, oops (webproxy), samba... maybe some of them can be configured to use svlogd, but not all (so SINGLE UNIVERSAL UGLY solution is much better than number of different custom more-or-less ugly solutions) - svlogd for named pipe supervised by runsv and won't restart with it service - no problems with sleep 1 and so - svlogd can be reconfigured&restarted without restarting service(apache) - you can have many services sending their logs into same named pipe (can't imagine how this can be used in real world yet :)) - ... anything else? > Ultimately we may need to go beat up apache developers. ;-) YEAH! :-) -- WBR, Alex.