Linux-HA Logo

logfile - configures logging file

The logfile directive is deprecated for version 2.x configurations. Please enable the use_logd[1] directive instead.

The logfile directive configures a log file. All non-debug messages from Heartbeat[2] will go into this file.

A sample logfile directive is shown below:

logfile /var/log/ha-log

Caveats

Configuring a log file (instead of using syslog logging) can cause Heartbeat to block for several seconds under heavy load. This can affect the deadtime[3] required for the system.

See Also

ha.cf/UseLogdDirective[1]


References

[1]http://www.linux-ha.org/ha.cf/UseLogdDirective
[2]http://www.linux-ha.org/HeartbeatProgram
[3]http://www.linux-ha.org/ha.cf/DeadtimeDirective


This information provided courtesy of the Linux-HA project at http://linux-ha.org/