blob: 614fc0188a6944af312ac5588ea1fe634f302f47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Description: Fix detection of cluster events
hb_report looks at /var/log/messages for cluster events by default.
On Debian systems this file only contains kernel messages so we use
/var/log/syslog instead.
.
Since the pacemaker looging moved to /var/log/pacemaker.log rather
than syslog, only this new file contains info on transitions so
use it instead of standard syslog messaging.
Author: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Bug: https://github.com/ClusterLabs/crmsh/issues/169
Last-Update: 2019-01-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/crmsh/history.py
+++ b/crmsh/history.py
@@ -21,7 +21,7 @@
logger = log.setup_logger(__name__)
-_LOG_FILES = ("ha-log.txt", "messages", "ha-log", "cluster-log.txt", "journal.log", "pacemaker.log")
+_LOG_FILES = ("ha-log.txt", "syslog", "ha-log", "cluster-log.txt", "journal.log", "pacemaker.log")
#
|