summaryrefslogtreecommitdiffstats
path: root/ctdb/config
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/config')
-rwxr-xr-xctdb/config/ctdb.init1
-rw-r--r--ctdb/config/ctdb.sysconfig4
2 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.init b/ctdb/config/ctdb.init
index 554649bc1d..9b965a900d 100755
--- a/ctdb/config/ctdb.init
+++ b/ctdb/config/ctdb.init
@@ -103,6 +103,7 @@ build_ctdb_options () {
maybe_set "--no-lmaster" "$CTDB_CAPABILITY_LMASTER" "no"
maybe_set "--lvs --single-public-ip" "$CTDB_LVS_PUBLIC_IP"
maybe_set "--script-log-level" "$CTDB_SCRIPT_LOG_LEVEL"
+ maybe_set "--syslog" "$CTDB_SYSLOG" "yes"
}
check_persistent_databases () {
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig
index 004ada32c2..ca2b63fad1 100644
--- a/ctdb/config/ctdb.sysconfig
+++ b/ctdb/config/ctdb.sysconfig
@@ -187,6 +187,10 @@ CTDB_RECOVERY_LOCK="/some/place/on/shared/storage"
# the default is ERR
CTDB_DEBUGLEVEL=ERR
+# Write debug messages to syslog instead of logfile?
+# The default is not to use syslog.
+# CTDB_SYSLOG=no
+
# set any default tuning options for ctdb
# use CTDB_SET_XXXX=value where XXXX is the name of the tuning
# variable