diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-01-15 15:38:56 +1100 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-01-15 15:38:56 +1100 |
| commit | a1d60b1511c710a093bf4c76a69b789288b1bd7d (patch) | |
| tree | e436460545a915b7a06d198327b0f34861079f08 /ctdb/config/ctdb.sysconfig | |
| parent | f066939a62c72dde8858c53c7e38e3dd3892e7c8 (diff) | |
| download | samba-a1d60b1511c710a093bf4c76a69b789288b1bd7d.tar.gz samba-a1d60b1511c710a093bf4c76a69b789288b1bd7d.tar.xz samba-a1d60b1511c710a093bf4c76a69b789288b1bd7d.zip | |
Make the size of the in memory ringbuffer for keeping the recent log messages
configureable using --log-ringbuf-size=<num-entries>.
Add an entry in the sysconfig file to set this persistently.
(This used to be ctdb commit c79c2da69bc352f509e7fca4b9172a4b7f23c0f8)
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
| -rw-r--r-- | ctdb/config/ctdb.sysconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig index bc3100150e..68d0bf6e69 100644 --- a/ctdb/config/ctdb.sysconfig +++ b/ctdb/config/ctdb.sysconfig @@ -208,6 +208,13 @@ CTDB_DEBUGLEVEL=ERR # "-1" means wait forever. # CTDB_MAX_PERSISTENT_CHECK_ERRORS=0 +# All log entries up to level 9 are also collected into a in-memory ringbuffer +# in addition to the log that is written to the log file. +# This parameter controls how many entries we allow for this in memory log +# CTDB_LOG_RINGBUF_SIZE=500000 + +# +# # set any default tuning options for ctdb # use CTDB_SET_XXXX=value where XXXX is the name of the tuning # variable |
