From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/586 Path: main.gmane.org!not-for-mail From: rolphin@grosgay.com Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Logging everything in the database Date: Thu, 23 Sep 2004 15:13:11 +0200 Message-ID: <1095945191.4152cbe709636@mail.games-expert.com> References: <1095929269.41528db5a0c17@mail.games-expert.com> <20040923103626.GA23518@skarnet.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1095945242 13284 80.91.229.6 (23 Sep 2004 13:14:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2004 13:14:02 +0000 (UTC) Original-X-From: supervision-return-825-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Sep 23 15:13:49 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 1CATPx-0002Bt-00 for ; Thu, 23 Sep 2004 15:13:49 +0200 Original-Received: (qmail 25066 invoked by uid 76); 23 Sep 2004 13:14:10 -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 25060 invoked from network); 23 Sep 2004 13:14:10 -0000 Original-To: supervision@list.skarnet.org In-Reply-To: <20040923103626.GA23518@skarnet.org> User-Agent: Internet Messaging Program (IMP) 3.2.5-cvs X-Originating-IP: 194.119.125.25 Xref: main.gmane.org gmane.comp.sysutils.supervision.general:586 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:586 Quoting Laurent Bercot : > > started blocks...). > > So tell me about this idea, what do you think about it, and what could be > wrong > > with it... > > I've done the exact same thing, to log svscan's stderr using a supervised > multilog. Except that O_RDWR on a fifo isn't portable - it has no real > Unix meaning; you'd better use 2 fds, one reading, one writing. I've > designed a small tool to do just that: see http://www.skarnet.org/software/execline/redirfd.html > Great, thx, I'll use it, and will soon update my notify package with it.