diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-11-18 12:44:18 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-11-18 12:44:18 +1100 |
commit | bc2675119df5c2fe0943bcfea0178a1926be6fc7 (patch) | |
tree | 968753be6eade458bf87405e5b1aead192eea312 /ctdb/server/ctdb_logging.c | |
parent | 24c593d21f24c79f1a7b24aa1d1642b41e3f4efa (diff) | |
download | samba-bc2675119df5c2fe0943bcfea0178a1926be6fc7.tar.gz samba-bc2675119df5c2fe0943bcfea0178a1926be6fc7.tar.xz samba-bc2675119df5c2fe0943bcfea0178a1926be6fc7.zip |
add an in memory ringbuffer where we store the last 500000 log entries regardless of log level.
add commandt to extract this in memory buffer and to clear it
(This used to be ctdb commit 29d2ee8d9c6c6f36b2334480f646d6db209f370e)
Diffstat (limited to 'ctdb/server/ctdb_logging.c')
-rw-r--r-- | ctdb/server/ctdb_logging.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_logging.c b/ctdb/server/ctdb_logging.c index 16f728bd0f0..5bb39e394d3 100644 --- a/ctdb/server/ctdb_logging.c +++ b/ctdb/server/ctdb_logging.c @@ -448,3 +448,8 @@ int ctdb_set_child_logging(struct ctdb_context *ctdb) return 0; } + + + + + |