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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16914 invoked from network); 10 May 2023 21:59:28 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 10 May 2023 21:59:28 -0000 Received: (qmail 14745 invoked by uid 89); 10 May 2023 21:59: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 14738 invoked from network); 10 May 2023 21:59:51 -0000 From: "Laurent Bercot" To: "supervision@list.skarnet.org" Subject: Re: timestamp or timing info for s6-rc services? Date: Wed, 10 May 2023 21:59:25 +0000 Message-Id: In-Reply-To: References: Reply-To: "Laurent Bercot" User-Agent: eM_Client/9.2.1735.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >Hi all, >I am running s6 on buildroot with a bunch of custom services (and bundles) = with dependencies. Was there a way to turn on timestamps for s6-rc loggin= g? I am currently logging with -v 2 option set. Or is there any timing in= formation saved between a service starting and successfully started (or sto= pped) that I get at that is already saved somewhere? I don't know exactly what customization options Buildroot gives you, but since the output from oneshots and from longruns without a dedicated logger goes to the catch-all logger, you would achieve what you want by making sure your catch-all logger has timestamps activated. If the setup is using s6-linux-init, the -t[1|2|3] option to s6-linux-init-maker will do that; it should be an option in the=20 Buildroot configuration. -- Laurent