ClusterLabs/pacemaker — pull request #541 by yuusuke (2014-06-12 09:41:44+00:00)
Title: Reduce the log when pacemakerd is run on command.

Hi, Andrew

I made the cluster which manages the replication of pgsql.
We are setting logpriority to "info", in order to obtain a log required for systems operation.
The log of the following whenever monitor of pgsql resource agent is performed is outputted.

Jun 12 18:17:49 vm01 pacemakerd[20636]: info: crm_log_init: Changed active directory to /var/lib/heartbeat/cores/root
Jun 12 18:17:49 vm01 pacemakerd[20636]: info: crm_xml_cleanup: Cleaning up memory from libxml2
Jun 12 18:18:00 vm01 pacemakerd[20793]: info: crm_log_init: Changed active directory to /var/lib/heartbeat/cores/root
Jun 12 18:18:00 vm01 pacemakerd[20793]: info: crm_xml_cleanup: Cleaning up memory from libxml2
Jun 12 18:18:12 vm01 pacemakerd[20931]: info: crm_log_init: Changed active directory to /var/lib/heartbeat/cores/root
Jun 12 18:18:12 vm01 pacemakerd[20931]: info: crm_xml_cleanup: Cleaning up memory from libxml2
Jun 12 18:18:23 vm01 pacemakerd[21088]: info: crm_log_init: Changed active directory to /var/lib/heartbeat/cores/root
Jun 12 18:18:23 vm01 pacemakerd[21088]: info: crm_xml_cleanup: Cleaning up memory from libxml2
Jun 12 18:18:34 vm01 pacemakerd[21249]: info: crm_log_init: Changed active directory to /var/lib/heartbeat/cores/root
Jun 12 18:18:34 vm01 pacemakerd[21249]: info: crm_xml_cleanup: Cleaning up memory from libxml2

Since "pacemakerd -$" is performed within pgsql resource agent, this is outputted.
Correction was created in order to hide these logs.
If there is no problem in particular, I will want you to merge this correction.