Cluster logging_daemon settings from /etc/cluster/cluster.conf are not being applied in RHEL 6
Issue
- When I configure settings in a
<logging_daemon>entry in/etc/cluster/cluster.conf, the settings don't get applied - I tried to change the
syslog_priorityorlogfile_priorityforrgmanagervia alogging_daemon, but it still logged at the old priority.
<logging>
<logging_daemon name="rgmanager" syslog_priority="notice" logfile_priority="notice"/>
</logging>
- Why are things logged into
/var/log/clusterwhile in the/etc/cluster/cluster.conflogging_daemonentry I have a different directory?
<logging logfile_priority="debug" syslog_facility="daemon" syslog_priority="info" to_logfile="yes" to_syslog="yes">
<logging_daemon logfile="/var/log/mysql/qdiskd.log" name="qdiskd"/>
<logging_daemon logfile="/var/log/mysql/fenced.log" name="fenced"/>
<logging_daemon logfile="/var/log/mysql/rgmanager.log" name="rgmanager"/>
<logging_daemon logfile="/var/log/mysql/corosync.log" name="corosync"/>
</logging>
Environment
- Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
- One or more
<logging_daemon>entries in/etc/cluster/cluster.conf cmanreleases prior to3.0.12.1-59.el6_5.1in RHEL 6 Update 5, or prior to3.0.12.1-68.el6in other releases.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.