---
name: "ha_logger"
section: "8"
platform: "linux"
package: "cluster-glue"
version: "1.0.12-24+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ha_logger/8"
---

# ha\_logger(8)

Log a message to files and/or syslog through the HA Logging Daemon

## NAME

ha\_logger - Log a message to files and/or syslog through the HA Logging Daemon

## SYNOPSIS

**ha\_logger** \[**-D** \[ha-log\] \| \[ha-debug\]\] \[**-t** *tag*\] *message*...

## DESCRIPTION

**ha\_logger** is used to log a message to files/syslog through the HA Logging Daemon.

## OPTIONS

The following options are supported:

- **-D** ha-log\|ha-debug

  Log the message to different files. ha-log will log the message to the log file and the debug file, while ha-debug will log the message to the debug file only.

- **-t** *tag*

  Mark every line in the log with the specified *tag*.

*message*

The message that should be logged.

## SEE ALSO

[**heartbeat**(8)](/heartbeat/8.md), [**ha\_logd**(8)](/ha_logd/8.md)

## 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
