Re: logging from the resource agent script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



brem belguebli <brem.belguebli@xxxxxxxxx> wrote:
> You need to add an entry for rgmanager in /etc/syslog.conf
> 
> local4.*                /var/log/rgmanager
> 
> and instruct rgmanager to use the above facility (local4) in
> /etc/cluster/cluster.conf
> 
>  <rm log_facility="local4" log_level="7">

Thanks!  I actually already have log_level="6" in my <rm> tag,
but I didn't change the default log_facility from daemon so I
have rgmanager logging to /var/log/messages along with everything
else, for now.  I may change it later.

However, this is not the solution to the problem I'm having.

Like I said, I had already done this.  I understand that if I want to
see debug level messages I have to set the level to 7, and I've done
that a few times (and did indeed get a lot of extra debug level
messages when I did), but my ocf_log statements are all at info or
notice, so 6 should be sufficient.

Nevertheless, they don't work, in the ways I described in my earlier
message.
  -- Cos

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux