On Jan 24, 2008, at 12:50 AM, DAIKI MATSUDA wrote:
Hi, Linux-HA developers all.
I posted to linux-ha ML
(http://www.gossamer-threads.com/lists/linuxha/users/45268), but
because almost reply does not returned, I will post to here again.
In ha.cf sample in /usr/share/doc/heartbeat-2.1.3 it is written in
the following
# Note on logging:
# If any of debugfile, logfile and logfacility are defined then they
# will be used. If debugfile and/or logfile are not defined and
# logfacility is defined then the respective logging and debug
# messages will be loged to syslog. If logfacility is not defined
# then debugfile and logfile will be used to log messges. If
# logfacility is not defined and debugfile and/or logfile are not
# defined then defaults will be used for debugfile and logfile as
# required and messages will be sent there.
Though I set the configs to
logfile /var/log/ha-log
debugfile /var/log/ha-debug
#logfacility local0
, the Heartbeat writes the logs to system log file.
Is it the feature to always write logs to system log? I think that it
is the bug and feel better to behave to write to only indicated file
such as apache.
IIRC, the only way to turn off syslog logging is with:
logfacility none
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/