integ/base/cluster-resource-agents/centos/patches
Joao Paulo Tavares Musico ed307f794a Reduce log rates for daemon-ocf
A 3 year old patch which made debug log default to off has been
missed. This change will add this patch so log rates for
daemon-ocf.log will decrease.
To turn on debug logging a variable shall be added for each process:
i.e. keystone
Add following like to /use/lib/ocf/resource.d/openstack/keystone
HA_debug=1

Test Plan:

PASS: Verify that by default no more debug logs are found in
daemon-ocf.log
PASS: Verify that adding HA_debug=1 to an ocf script will enable debug
logging for that process
PASS: Verify that having HA_debug=0 to an ocf script will disable
debug logging for that process

Failure Path:

PASS: Verify a value other than 0 or 1 for HA_debug will not break
process

Regression:

PASS: Verify system install
PASS: Verify all log levels, other than debug, are still being
generated

Story: 2009272
Task: 43606

Signed-off-by: Joao Paulo Tavares Musico <joaopaulotavares.musico@windriver.com>
Change-Id: Icfc62d0e7eafaaedfd0fe516f8c1b137343f8428
2021-10-25 19:21:26 +00:00
..
copyright.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
Do-not-log-at-debug-log-level-when-HA_debug-is-unset.patch Reduce log rates for daemon-ocf 2021-10-25 19:21:26 +00:00
Fix-VG-activity-bug-in-heartbeat-LVM-script.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
ipaddr2_check_if_state.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
ipaddr2_if_down.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
ipaddr2_ignore_lo_if_state.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
ipaddr2-avoid-failing-svc-if-down.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
ipaddr2-use-host-scope-for-addresses-on-loopback.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
lvm_cleanup_refs_on_stop.patch fix issue: cinder-lvm service failed to run up 2019-01-23 07:42:39 +00:00
lvm_vg_activation.patch fix issue: cinder-lvm service failed to run up 2019-01-23 07:42:39 +00:00
new_ocf_return_codes.patch Relocate cluster-resource-agents to 2018-08-01 15:31:54 -04:00
ocf-shellfuncs_change_logtag.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
pgsql.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00
umount-in-namespace.patch rebase resource-agents patch to CentOS 7.6 version 2019-01-15 13:54:27 +08:00