From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2461 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sean MacLennan Newsgroups: gmane.comp.sysutils.supervision.general Subject: s6 problems logging Date: Sat, 26 Jan 2019 22:15:17 -0500 Message-ID: <20190126221517.70ea00b8@zonker.seanm.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="171550"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision@list.skarnet.org Original-X-From: supervision-return-2051-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Jan 27 04:15:26 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 1gnaur-000iSd-Jr for gcsg-supervision@m.gmane.org; Sun, 27 Jan 2019 04:15:25 +0100 Original-Received: (qmail 27982 invoked by uid 89); 27 Jan 2019 03:15:47 -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 27975 invoked from network); 27 Jan 2019 03:15:47 -0000 X-Session-Marker: 7365616E6D407365616E6D2E6361 X-HE-Tag: water67_85b7173088942 X-Filterd-Recvd-Size: 1113 X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2461 Archived-At: I have a service called doorknob that I want to log the output of. Here is the run file: #!/command/execlineb -P /usr/sbin/doorknob -fs The -f keeps doorknob in the foreground and the -s sends all messages to stdout. The log/run file is: #!/command/execlineb -P s6-log -b n20 s1000000 t . My understanding is that the stdout should go to s6-log and be put in log/current. But nothing seems to be logged. Cheers, Sean https://github.com/smaclennan/doorknob