HA_LOGD(8)

✨ NAME ✨

okay so bestie, let me put you on: ha_logd β€” the Logging Daemon for High-Availability Linux. that's the whole vibe. it logs. it daemonizes. it's iconic. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

ha_logd [-s] [-k] [-d] [-h] [-c file]

πŸ’– DESCRIPTION πŸ’–

so ha_logd is a logging daemon for Linux-HA, and honestly? it's the friend who holds your stuff so you don't have to. it receives messages from a local domain socket at /var/lib/heartbeat/log_daemon, and writes them to the appropriate files β€” plus syslog if you've enabled that. 🌸

now why does this whole daemon situation even exist, you ask? because occasionally Heartbeat suffers from disk I/O delays 😭 and that's not the energy we're bringing. by sending log messages off to a logging daemon instead, heartbeat can dodge those I/O delays entirely. it's giving delegating, and we love a queen who delegates. πŸ‘‘


✨ OPTIONS ✨

here's everything it supports, no gatekeeping:

  • -s β€” show ha_logd status, so either running or stopped. vibe check, basically. πŸ”
  • -k β€” stop (kill) the daemon. it's over bestie, say goodbye πŸ’€
  • -d β€” daemonize. and listen: without this option, ha_logd will run in the foreground, which means it's just… there. watching. main character behavior in your terminal.
  • -h β€” show a brief usage message. your little "help me" moment, we've all been there 🫢
  • -c file β€” configuration file. you can configure a regular log file, a debug log file, a log facility, and an entity with this. for the deets, go look at the example ha_logd.cf file chillin' in the documentation. πŸ“

πŸŽ€ FILES πŸŽ€

  • /run/ha_logd.pid – PID file. it's where the daemon's lil ID lives πŸͺͺ
  • ha_logd.cf – example configuration file. copy the fit, make it your own ✨

🌈 SEE ALSO 🌈

heartbeat(8), ha_logger(1) β€” the rest of the friend group, go say hi πŸ«‚


πŸ‘‘ AUTHORS πŸ‘‘

  • Alan Robertson <alanr@unix.sh> β€” ha_logd
  • Guochun Shi <gshi@ncsa.uiuc.edu> β€” ha_logd
  • Marowsky-Bree Lars <lmb@suse.de> β€” ha_logd
  • Florian Haas <florian.haas@linbit.com> β€” man page

and that's the whole page, bestie!! πŸ¦‹ this was brought to you by cluster-glue 1.0.12, dated December 8, 2009 β€” yes it's a vintage, and yes it still ate. periodt. πŸ’–βœ¨πŸŽ€