pacemaker/bug-806256_pacemaker-log-level-notice.patch
Yan Gao 68eff2f20b Accepting request 513590 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- logging: ensure blackbox gets generated on arithmetic error
- crm_mon: overcome crm_system_name no longer influenced with argv
- crm_mon: make CGI bail out on suspicious arguments
- crm_mon: make CGI bail out properly and w/o help screen
- crm_mon: canonical casing of Content-Type CGI header field
- libcrmcommon: handle schema versions properly
- attrd: don't reconnect to lrmd if already connected
- PE: Ensure nested container connections run on the same host
- crmd: send alerts via lrmd
- lrmd: execute alerts as cluster daemon user
- libservices: add ability to specify user to run an action
- libcrmcommon: improve user lookup messages
- extra: correct ClusterMon metadata
- attrd: avoid memory leak when disconnecting from lrmd
- attrd,tools: avoid memory leaks from use of crm_itoa()
- attrd: be consistent about attr/host logging
- attrd: delay lrmd connect until needed
- attrd: add timestamp to alert just when needed
- attrd: improve log messages
- libcrmcommon,libpe_rules: avoid crash when alerts section has comments
- libcrmcommon: add API call for next named XML child
- liblrmd: only set environment variables with a value
- attrd,liblrmd: handle adding env var at head of list
- lrmd: drain alerts at shutdown
- attrd,lrmd: generate alert sequence number in lrmd
- liblrmd: better trace message when creating command
- stonith-ng: avoid double-free of pending-ops in free_device
- crmd: log correct feature set revision
- PE: update start-failure-is-fatal help
- cib: avoid unnecessary memory allocation

OBS-URL: https://build.opensuse.org/request/show/513590
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=272
2017-07-31 15:14:51 +00:00

46 lines
2.2 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.17+20170727.d134f83b4/crmd/membership.c
===================================================================
--- pacemaker-1.1.17+20170727.d134f83b4.orig/crmd/membership.c
+++ pacemaker-1.1.17+20170727.d134f83b4/crmd/membership.c
@@ -434,7 +434,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.17+20170727.d134f83b4/crmd/tengine.c
===================================================================
--- pacemaker-1.1.17+20170727.d134f83b4.orig/crmd/tengine.c
+++ pacemaker-1.1.17+20170727.d134f83b4/crmd/tengine.c
@@ -214,7 +214,7 @@ do_te_invoke(long long action,
destroy_graph(transition_graph);
transition_graph = unpack_graph(graph_data, graph_input);
CRM_CHECK(transition_graph != NULL, 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.17+20170727.d134f83b4/fencing/remote.c
===================================================================
--- pacemaker-1.1.17+20170727.d134f83b4.orig/fencing/remote.c
+++ pacemaker-1.1.17+20170727.d134f83b4/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) {