From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2547 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: catch-all logger service Date: Fri, 26 Apr 2019 21:23:04 +0200 Message-ID: <3104151556306584@sas2-0106f63be698.qloud-c.yandex.net> References: <48006661556215743@iva7-8175209a746b.qloud-c.yandex.net> <42655961556240486@myt5-cf6d29327892.qloud-c.yandex.net> <1651241556296198@iva4-0814df7d67c8.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="213227"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision Original-X-From: supervision-return-2137-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Apr 26 21:23:08 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hK6RA-000tOT-GL for gcsg-supervision@m.gmane.org; Fri, 26 Apr 2019 21:23:08 +0200 Original-Received: (qmail 19741 invoked by uid 89); 26 Apr 2019 19:23:33 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19734 invoked from network); 26 Apr 2019 19:23:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1556306584; bh=XOAziHKVgdUM8bgW23r7h0aayTlpgvx4dVYfpc8GKNU=; h=References:Date:Message-Id:Subject:In-Reply-To:To:From; b=tF3w7OTCqCm4EatVOwP3m+tDnCBVbTdRq7VuRqJk0/USozXdnNHRNxQb/07NpFUIP 8+6nan2sLz25PhCp2xMSgPsILme5ylExKq4K2HNSlR/7W51XulHK25OzTQ7tKLhWjK a++KVZ5bgYtju7VzOX2+madoWdUac+8flnVOeQU8= Authentication-Results: mxback2j.mail.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: X-Mailer: Yamail [ http://yandex.ru ] 5.0 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2547 Archived-At: 26.04.2019, 20:51, "Laurent Bercot" : > You need to be able to take "no" for an answer. i can do that. and that will be probably the answer i will get from perp's author aswell (dunno if he reads this list). it is just important for me to know if this functionality will be added or not since i have my own runit-init style process #1 implementation in the makings and do not want to change it when such features are added to s6-svscan and perpd. no i know for sure that my code has to do the pipe(2) call and has to supervise the logging process aswell (which is a bit more code and one more child process to supervise). but one could also use runit's "runsv" here which in turn supervises both: s6-svscan/perpd and the logger. (same with perp's "rundeux", that fits even better here since it does not need any service dirs by itself) but that is a bit awkward since that can be done easily by process #1 itself and hence just adds an additional level of indirection where it is not really useful/necessary. and here is another advantage of the daemontools-encore approach: when given the special logging service option svscan knows it can run very verbose since it has an associated logger. (i think daemontools-encore's svscan already operates this way) this is also important in the case of perpd since its default operation style is pretty verbose and thus needs a logger.