pacemaker/bug-943295_pacemaker-lrmd-log-notice.patch
Yan Gao 85ce16ce4a - Update to version 2.1.8+20240808.3980678f03 (Pacemaker-2.1.8):
- scheduler: correct format arguments
- libpacemaker: Don't apply colocation twice for promotion priority
- libpacemaker: Apply promotion priority to cloned group instance

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=403
2024-10-01 15:06:25 +00:00

23 lines
933 B
Diff

Index: pacemaker-2.1.6+20230821.d00694366/daemons/execd/execd_commands.c
===================================================================
--- pacemaker-2.1.6+20230821.d00694366.orig/daemons/execd/execd_commands.c
+++ pacemaker-2.1.6+20230821.d00694366/daemons/execd/execd_commands.c
@@ -210,7 +210,7 @@ action_matches(const lrmd_cmd_t *cmd, co
static void
log_finished(const lrmd_cmd_t *cmd, int exec_time_ms, int queue_time_ms)
{
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
GString *str = g_string_sized_new(100); // reasonable starting size
if (pcmk__str_eq(cmd->action, PCMK_ACTION_MONITOR, pcmk__str_casei)) {
@@ -251,7 +251,7 @@ log_finished(const lrmd_cmd_t *cmd, int
static void
log_execute(lrmd_cmd_t * cmd)
{
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
if (pcmk__str_eq(cmd->action, PCMK_ACTION_MONITOR, pcmk__str_casei)) {
log_level = LOG_DEBUG;