LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bug-812269_pacemaker-fencing-device-register-messages.patch of Package pacemaker (Project home:yan_gao:branches:network:ha-clustering:Factory:Test)

commit 907b91e7154d57f091af547aa2179e1433bc69eb
Author: Gao,Yan <ygao@suse.com>
Date:   Thu Apr 18 16:00:02 2013 +0800

    Log: fencing: Drop the severity of the messages on registering a stonith device

Index: pacemaker-1.1.18+20180430.c0d7ba798/daemons/fenced/fenced_commands.c
===================================================================
--- pacemaker-1.1.18+20180430.c0d7ba798.orig/daemons/fenced/fenced_commands.c
+++ pacemaker-1.1.18+20180430.c0d7ba798/daemons/fenced/fenced_commands.c
@@ -1190,7 +1190,7 @@ stonith_device_register(xmlNode * msg, c
         }
         g_hash_table_replace(device_list, device->id, device);
 
-        crm_notice("Added '%s' to the device list (%d active devices)", device->id,
+        crm_info("Added '%s' to the device list (%d active devices)", device->id,
                    g_hash_table_size(device_list));
     }
     if (desc) {
Index: pacemaker-1.1.18+20180430.c0d7ba798/daemons/fenced/pacemaker-fenced.c
===================================================================
--- pacemaker-1.1.18+20180430.c0d7ba798.orig/daemons/fenced/pacemaker-fenced.c
+++ pacemaker-1.1.18+20180430.c0d7ba798/daemons/fenced/pacemaker-fenced.c
@@ -1021,7 +1021,7 @@ update_cib_cache_cb(const char *event, x
                 break;
             case -pcmk_err_diff_resync:
             case -pcmk_err_diff_failed:
-                crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc);
+                crm_info("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc);
                 free_xml(local_cib);
                 local_cib = NULL;
                 break;