pacemaker/bug-806256_pacemaker-log-level-notice.patch
Yan Gao 158655be13 Accepting request 594934 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180406.633845120:
- libcrmcommon: add a byte to pid file holder
- attrd,cib,libcrmcommon: avoid %z
- crmd: avoid memory leak when synthesizing operation result
- tools: avoid memory leak on invalid resource
- crmd: log rc code as extended information
- cib: avoid file descriptor leak on temporary file creation
- pengine: avoid redundant test
- libcrmcommon: handle compression failures properly
- libcrmcommon: improve empty string check
- various: improve NULL checks
- libcrmcommon: improve patch xpath searches
- libcrmcommon,tools: use format strings appropriate to variables
- libcrmcommon: use correct argument type for duration
- libcrmcluster: avoid potential use-of-NULL
- libcrmcommon,libstonithd: avoid resource leaks
- tools: get sensor lun in ipmiservicelogd before using it
- schema upgrade: temporary fix to avoid crash on newly present text

- Update to version 1.1.18+20180406.ce623681e:
- fencing: convert fence_legacy to python
- fencing: fix typos in messages

- Update to version 1.1.18+20180406.18fe1cc2b:
- XML: upgrade-2.10.xsl: add transform for automatic upgrades to latest schema 
- Log: establish correct character string literals also with qb_logt sink
- pengine: fix swapped warning message arguments leading to segfault
- cts-pengine: add regression test for notifications for unrunnable actions
- cts-pengine: update regression tests for notification changes
- rhbz#1545449 - Do not perform notifications for events we know wont be executed

OBS-URL: https://build.opensuse.org/request/show/594934
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=302
2018-04-09 15:40:11 +00:00

46 lines
2.1 KiB
Diff

commit b802c689cdad03a185c5c6689741e2a4db8d5924
Author: Gao,Yan <ygao@suse.com>
Date: Thu Mar 14 09:41:53 2013 +0800
Log: Change some messages to notice level (bnc#806256)
Index: pacemaker-1.1.18+20180406.633845120/crmd/membership.c
===================================================================
--- pacemaker-1.1.18+20180406.633845120.orig/crmd/membership.c
+++ pacemaker-1.1.18+20180406.633845120/crmd/membership.c
@@ -426,7 +426,7 @@ crm_update_quorum(gboolean quorum, gbool
crm_xml_add(update, XML_ATTR_DC_UUID, fsa_our_uuid);
fsa_cib_update(XML_TAG_CIB, update, call_options, call_id, NULL);
- crm_debug("Updating quorum status to %s (call=%d)", quorum ? "true" : "false", call_id);
+ crm_notice("Updating quorum status to %s (call=%d)", quorum ? "true" : "false", call_id);
fsa_register_cib_callback(call_id, FALSE, NULL, cib_quorum_update_complete);
free_xml(update);
Index: pacemaker-1.1.18+20180406.633845120/crmd/tengine.c
===================================================================
--- pacemaker-1.1.18+20180406.633845120.orig/crmd/tengine.c
+++ pacemaker-1.1.18+20180406.633845120/crmd/tengine.c
@@ -188,7 +188,7 @@ do_te_invoke(long long action,
transition_graph = create_blank_graph();
return;
}
- crm_info("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref,
+ crm_notice("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref,
graph_input);
te_reset_job_counts();
Index: pacemaker-1.1.18+20180406.633845120/fencing/remote.c
===================================================================
--- pacemaker-1.1.18+20180406.633845120.orig/fencing/remote.c
+++ pacemaker-1.1.18+20180406.633845120/fencing/remote.c
@@ -576,7 +576,7 @@ remote_op_timeout(gpointer userdata)
return FALSE;
}
- crm_debug("Action %s (%s) for %s (%s) timed out",
+ crm_notice("Action %s (%s) for %s (%s) timed out",
op->action, op->id, op->target, op->client_name);
if (op->phase == st_phase_on) {