Cluster logging_daemon settings from /etc/cluster/cluster.conf are not being applied in RHEL 6

Solution Unverified - Updated -

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_priority or logfile_priority for rgmanager via a logging_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/cluster while in the /etc/cluster/cluster.conf logging_daemon entry 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
  • cman releases prior to 3.0.12.1-59.el6_5.1 in RHEL 6 Update 5, or prior to 3.0.12.1-68.el6 in other releases.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content