ha_logd(8)

ha_logd8

Logging daemon for high-availability linux

Usage

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

Overview

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.

Options

The following options are supported:

-s

Show ha_logd status (either running or stopped)

-k

Stop (kill) the daemon

-d

Daemonize (without this option, ha_logd will run in the foreground)

-h

Show a brief usage message

-c file

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.

Files

• /run/ha_logd.pid – PID file

• ha_logd.cf – example configuration file

Releases

10 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0–5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

-c since Debian 6.0 (Squeeze).