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 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") #