mirror of https://gitee.com/openkylin/samba.git
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:
parent
65fcf8c1e9
commit
284aec310b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue