pacemaker/bug-806256_pacemaker-log-level-notice.patch
Yan Gao 1523c5f7bd Accepting request 1073529 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.1.5+20230309.a4b0ea1b5:
- controller: compare recordable actions case-sensitively
- libcrmcommon: Don't parse "-INFINITY" as a list of cmdline options (CLBZ#5509)
- tools: crm_shadow --commit now works with CIB_file
- scheduler: expired results shouldn't affect state
- scheduler: avoid remap log if not remapped
- scheduler: always treat degraded results as success
- watchdog-fencing: correctly derive timeout with topology
- watchdog-fencing: terminate dangling timer before watchdog-waiting
- scheduler: ensure resource history entries have an XML ID
- crm_resource: Add the --element option for --get-parameter
- libcrmcommon: Fix problems with pcmk__output_and_clear_error.
- libcrmcommon: Fix memleak in pcmk__output_xml_add_node_copy()
- Rebase:
  * bug-806256_pacemaker-log-level-notice.patch
  * pacemaker-cts-StartCmd.patch

- Update to version 2.1.5+20230220.c4f6c191a:
- libcrmcommon: Fix handling node=NULL in pcmk__attrd_api_query.
- fencer: Avoid double source remove of op_timer_total (rh#2166967)
- Rebase:
  * bug-806256_pacemaker-log-level-notice.patch

- Update to version 2.1.5+20230216.ed8bc68bc:
- scheduler: count only containers' active nodes for bundles

- Update to version 2.1.5+20230208.231b58a40:
- cts: Add a basic cts-attrd program.
- daemons: Modify a couple log messages for testing.
- daemons: Add a -l argument to pacemaker-attrd.

OBS-URL: https://build.opensuse.org/request/show/1073529
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=377
2023-03-21 11:29:06 +00:00

46 lines
2.4 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-2.1.5+20230309.a4b0ea1b5/daemons/controld/controld_membership.c
===================================================================
--- pacemaker-2.1.5+20230309.a4b0ea1b5.orig/daemons/controld/controld_membership.c
+++ pacemaker-2.1.5+20230309.a4b0ea1b5/daemons/controld/controld_membership.c
@@ -426,7 +426,7 @@ crm_update_quorum(gboolean quorum, gbool
crm_xml_add_int(update, XML_ATTR_HAVE_QUORUM, quorum);
crm_xml_add(update, XML_ATTR_DC_UUID, controld_globals.our_uuid);
- crm_debug("Updating quorum status to %s", pcmk__btoa(quorum));
+ crm_notice("Updating quorum status to %s", pcmk__btoa(quorum));
controld_update_cib(XML_TAG_CIB, update, call_options,
cib_quorum_update_complete);
free_xml(update);
Index: pacemaker-2.1.5+20230309.a4b0ea1b5/daemons/controld/controld_transition.c
===================================================================
--- pacemaker-2.1.5+20230309.a4b0ea1b5.orig/daemons/controld/controld_transition.c
+++ pacemaker-2.1.5+20230309.a4b0ea1b5/daemons/controld/controld_transition.c
@@ -182,7 +182,7 @@ do_te_invoke(long long action,
CRM_CHECK(controld_globals.transition_graph != NULL,
controld_globals.transition_graph = create_blank_graph();
return);
- crm_info("Processing graph %d (ref=%s) derived from %s",
+ crm_notice("Processing graph %d (ref=%s) derived from %s",
controld_globals.transition_graph->id, ref, graph_input);
te_reset_job_counts();
Index: pacemaker-2.1.5+20230309.a4b0ea1b5/daemons/fenced/fenced_remote.c
===================================================================
--- pacemaker-2.1.5+20230309.a4b0ea1b5.orig/daemons/fenced/fenced_remote.c
+++ pacemaker-2.1.5+20230309.a4b0ea1b5/daemons/fenced/fenced_remote.c
@@ -687,7 +687,7 @@ remote_op_timeout_one(gpointer userdata)
static void
finalize_timed_out_op(remote_fencing_op_t *op, const char *reason)
{
- crm_debug("Action '%s' targeting %s for client %s timed out "
+ crm_notice("Action '%s' targeting %s for client %s timed out "
CRM_XS " id=%.8s",
op->action, op->target, op->client_name, op->id);