From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25069 invoked from network); 9 Mar 2021 10:55:29 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 9 Mar 2021 10:55:29 -0000 Received: (qmail 18583 invoked by uid 89); 9 Mar 2021 10:55:51 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 18576 invoked from network); 9 Mar 2021 10:55:51 -0000 From: "Laurent Bercot" To: "billa chaitanya" , supervision@list.skarnet.org Subject: Re: S6 logging Date: Tue, 09 Mar 2021 10:55:25 +0000 Message-Id: In-Reply-To: References: Reply-To: "Laurent Bercot" User-Agent: eM_Client/8.1.1054.0 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrudduiedgvddtucetufdoteggodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjghfrhgfgggtgfesthhqredttderjeenucfhrhhomhepfdfnrghurhgvnhhtuceuvghrtghothdfuceoshhkrgdqshhuphgvrhhvihhsihhonhesshhkrghrnhgvthdrohhrgheqnecuggftrfgrthhtvghrnhepvdfgveffueelgedvkedtffetgedvieeifeektefgueehffehleehjefhveeuieejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuth >I am trying to log the prints coming from daemons like dropbear using >s6-log, but couldn't make it. >Am I missing something? You really need to improve on your way of asking for help. "couldn't make it" is not an actionable report. You need to say: - exactly what you did (you did that, good, but you did not mention that you were using s6-rc, which may or may not be relevant) - exactly what you expected (you didn't do that, but it is easy to figure out) - exactly what happened (you didn't do that at all and we're left to guess). Going out on a limb, and reading the manual page (I haven't used dropbear in a little while), I'm guessing that the problem is this: >/usr/sbin/dropbear -F You also need the -E option in order to tell dropbear to send its error messages to stderr instead of syslog. But if it still doesn't work with -F -E, then we'll need more precise information. -- Laurent