File 0014-medium-history-Revert-preference-of-messages-over-ha.patch of Package crmsh
From dd7a5db2ab556eb125b73c01e587d855dcb1adc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Fri, 2 Jun 2017 13:24:39 +0200
Subject: [PATCH] medium: history: Revert preference of messages over
ha-log.txt (bsc#1031138)
The best fix to this problem would be to combine all available
log files for a node into a single stream. A temporary improvement
is to prefer ha-log.txt over messages, which should be a better
choice if hb_report selected the correct log file.
Partially reverts 2.3.1-3-g99f2056f.
---
crmsh/history.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crmsh/history.py b/crmsh/history.py
index 192563a8..d61e30e2 100644
--- a/crmsh/history.py
+++ b/crmsh/history.py
@@ -18,7 +18,7 @@ from . import utils
from .msg import common_debug, common_warn, common_err, common_error, common_info, warn_once
-_LOG_FILES = ("messages", "ha-log.txt", "ha-log", "cluster-log.txt", "journal.log", "pacemaker.log")
+_LOG_FILES = ("ha-log.txt", "messages", "ha-log", "cluster-log.txt", "journal.log", "pacemaker.log")
#
--
2.12.2