pacemaker/bug-943295_pacemaker-lrmd-log-notice.patch
Yan Gao 5f75cae0be Accepting request 331915 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- remote: Revise a misleading message in the ocf:pacemaker:remote resource agent (bsc#946332)
  * bug-946332_pacemaker-resource-agent-remote-message.patch
- remote: Correctly display the usage of the ocf:pacemaker:remote resource agent (bsc#946332)
  * bug-946332_pacemaker-resource-agent-remote-usage.patch

- crm_resource: Allow the resource configuration to be modified for --force-{check,start,..} calls
- Fencing: Correctly parse 'by-attribute' fencing levels
- Fencing: Use dedicated fields for fencing level patterns and attribute matching
- pacemaker_remote: memory leak in ipc_proxy_dispatch()
- crmd: don't add node ID to proxied remote node requests for attrd
- membership: Safely autoreap nodes without code duplication
- PE: Resolve memory leak
- pacemakerd: Do not forget about nodes that leave the cluster
- corosync: Display node state and quorum data if available
- crmd: Implement reliable event notifications
- extra: Added snmp trap of type "NOTIFICATION-TYPE" to MIB and snmp helper script
- Date: Correctly set time from seconds-since-epoch
- PE: Bug cl#5247 - Imply resources running on a container are stopped when the container is stopped
- Upstream version cs: 20c2178f076ff32fdf9ba9a467c193b8dac2f9e5

- lrmd: Upgrade start/finish log tags from INFO to NOTICE (bsc#943295)
  * bug-943295_pacemaker-lrmd-log-notice.patch

OBS-URL: https://build.opensuse.org/request/show/331915
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=218
2015-09-18 11:56:45 +00:00

23 lines
762 B
Diff

Index: pacemaker-1.1.13+git20150827.e8888b9/lrmd/lrmd.c
===================================================================
--- pacemaker-1.1.13+git20150827.e8888b9.orig/lrmd/lrmd.c
+++ pacemaker-1.1.13+git20150827.e8888b9/lrmd/lrmd.c
@@ -97,7 +97,7 @@ static void
log_finished(lrmd_cmd_t * cmd, int exec_time, int queue_time)
{
char pid_str[32] = { 0, };
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
if (cmd->last_pid) {
snprintf(pid_str, 32, "%d", cmd->last_pid);
@@ -121,7 +121,7 @@ log_finished(lrmd_cmd_t * cmd, int exec_
static void
log_execute(lrmd_cmd_t * cmd)
{
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
if (safe_str_eq(cmd->action, "monitor")) {
log_level = LOG_DEBUG;