Logging daemon for high-availability linux
ha_logd [-s] [-k] [-d] [-h] [-c file]
ha_logd is a logging daemon for Linux-HA. It receives messages from a local domain socket /var/lib/heartbeat/log_daemon, and writes them to appropriate files and syslog if enabled. The reason for utilizing this logging daemon is that occasionally Heartbeat suffers from disk I/O delays. By sending log messages to a logging daemon, heartbeat can avoid such I/O delays.
The following options are supported:
Show ha_logd status (either running or stopped)
Stop (kill) the daemon
Daemonize (without this option, ha_logd will run in the foreground)
Show a brief usage message
Configuration file. You may configure a regular log file, debug log file, log facility, and entity. For details, see the example ha_logd.cf file found in the documentation.
/var/run/ha_logd.pid – PID file
ha_logd.cf – example configuration file