ctdb-config-enable-syslog-by-default.patch

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 <rafaeldtinoco@ubuntu.com>
-
Author: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
This commit is contained in:
su-fang 2023-03-29 14:03:06 +08:00
parent 65fcf8c1e9
commit 284aec310b
1 changed files with 2 additions and 2 deletions

View File

@ -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