From 0f8d6c56cffa21752d47f15d487436e1b0205519 Mon Sep 17 00:00:00 2001 From: Debian Samba Maintainers Date: Mon, 19 Feb 2024 15:21:14 +0300 Subject: [PATCH] ctdb-config-enable-syslog-by-default ctdb-config: enable syslog by default CTDB uses /var/log/ctdb/ directory for the default log files. With syslog disabled, systemd journal is not able to correctly inform errors happening during service initialization. Upstream community creates generic config files to be used by different distributions, so this change makes no big difference to be accepted by upstream. With this patch the end user will be able to identify initialization errors by executing: systemctl status ctdb.service or to follow ctdb logs by executing: journalctl -f -u ctdb Signed-off-by: Rafael David Tinoco - Author: Rafael David Tinoco Bug-Debian: https://bugs.debian.org/929931 Bug-Ubuntu: https://bugs.launchpad.net/bugs/722201 Last-Update: 2022-03-24 Gbp-Pq: Name ctdb-config-enable-syslog-by-default.patch --- ctdb/config/ctdb.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctdb/config/ctdb.conf b/ctdb/config/ctdb.conf index 8e1b3760..def08035 100644 --- a/ctdb/config/ctdb.conf +++ b/ctdb/config/ctdb.conf @@ -5,10 +5,10 @@ [logging] # Enable logging to syslog - # location = syslog + location = syslog # Default log level - # log level = NOTICE + log level = NOTICE [cluster] # Shared cluster lock file to avoid split brain. Daemon -- 2.30.2