supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Laurent Bercot" <ska-supervision@skarnet.org>
To: "supervision@list.skarnet.org" <supervision@list.skarnet.org>
Subject: Re: timestamp or timing info for s6-rc services?
Date: Wed, 10 May 2023 21:59:25 +0000	[thread overview]
Message-ID: <em18c9811e-c9dd-427a-8f97-92f0269aafe3@27465993.com> (raw)
In-Reply-To: <PAXPR01MB9217B14DEBCA5B745726ADD8F4779@PAXPR01MB9217.eurprd01.prod.exchangelabs.com>

>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 logging?  I am currently logging with -v 2 option set.  Or is there any timing information saved between a service starting and successfully started (or stopped) 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 
Buildroot
configuration.

--
  Laurent


      reply	other threads:[~2023-05-10 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 17:17 Johnson, Bryce
2023-05-10 21:59 ` Laurent Bercot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=em18c9811e-c9dd-427a-8f97-92f0269aafe3@27465993.com \
    --to=ska-supervision@skarnet.org \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).