logbookd(1)

πŸ“¦ version 0.2.4, in alpine 3.24

πŸŽ€ logbookd(1) β€” a sqlite backed syslog daemon πŸŽ€

This is the logbookd(1) page from the General Commands Manual, bestie. Buckle up πŸ’–

✨ NAME ✨

logbookd β€” a sqlite backed syslog daemon. That's the whole vibe.

✨ SYNOPSIS ✨

logbookd [OPTIONS]

OPTIONS := { -v | -f | -r | -o | -l path | -d path | -p path | -g kB |
-h }

✨ DESCRIPTION ✨

Okay so picture this: it's an implementation of the /dev/log socket that writes to an sqlite database. That database is either in-memory or stored to disk. You can read the logs back out using the logread tool. Obsessed, honestly 🫢

✨ OPTIONS ✨

  • -h β€” show the help message and quit. Iconic, no notes πŸ’…
  • -v β€” show verbose output to stdout.
  • -o β€” output raw incoming log data. This is very verbose and only for debugging. Like, do not make this your main character setting 😭
  • -f β€” don't daemonize on launch; stay in the foreground.
  • -r β€” Reduced write mode. In this mode the database is kept in memory, but it gets written out to disk on exit or when receiving the USR1 signal. Lowkey handy ✨
  • -d path β€” path to the sqlite database to store the log messages in. This defaults to :memory:. It is also used as the writeout location for reduced write mode.
  • -l path β€” location of the syslog socket. This defaults to /dev/log for normal systems.
  • -p pidfile β€” location to store the pidfile for this daemon.
  • -g kB β€” when the in-memory database grows larger than the kB value defined here, it will start removing old log messages.

πŸš€ STARTUP NOTIFICATION πŸš€

The logbookd daemon supports two methods of startup notifications, bestie.

The first one is notifying systemd through the socket activation system. This is available when compiling on systems with libsystemd.

The second notification mechanism is FD activation as supported by dinit and s6. For this, set the LOGBOOKD_READY_FD environment variable through the init system, and logbookd will write a newline to the assigned FD to notify readyness. For dinit this option is:

ready-notification = pipevar:LOGBOOKD_READY_FD

πŸ‘€ SEE ALSO πŸ‘€

logread(1) β€” go read your logs, queen πŸ‘‘


That's the page, bestie πŸŽ€ This iconic manual is from logbookd, dated 2026-03-06, and it's the logbookd(1) page. Bye πŸ’‹

πŸ“¦ where this page comes from