unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* System log (syslogd) for the Shepherd
@ 2024-07-21 13:27 Ludovic Courtès
  2024-08-13 13:55 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2024-07-21 13:27 UTC (permalink / raw)
  To: guix-devel

Hello Guix!

I recently pushed a ‘wip-syslogd’ branch in the Shepherd, which should
be ready to merge in ‘devel’ in the coming days.  It implements an
in-process “system log” service that does the same job as good’ol
syslogd as currently used in Guix System (info "(inetutils) syslogd
invocation").

This is again an optional service.  The goal here is to make sure
shepherd can take care of everything related to service logging because
that’s fundamentally part of its job.

A concrete advantage of this built-in syslogd is that it can start
logging earlier and can log until the very end—currently syslogd starts
relatively late and terminates relatively early, which makes it hard to
debug shutdown problems.  See “sudo herd graph | xdot -” to visualize
where ‘syslogd’ currently is in the dependency graph.

The main parts are in place.  What’s still missing is: reading kernel
messages, integrating with the ‘log-rotation’ service, and documenting.

Feedback welcome!

Ludo’.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-23 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-21 13:27 System log (syslogd) for the Shepherd Ludovic Courtès
2024-08-13 13:55 ` Ludovic Courtès
2024-08-23 19:08   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).