From 8806cd2528862838fa85fb5c707cd5fe03cfc9cf Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 27 Feb 2015 12:57:31 +0800 Subject: [PATCH] doc: add docs about log's "memory level" Signed-off-by: Kefu Chai --- doc/rados/troubleshooting/log-and-debug.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/rados/troubleshooting/log-and-debug.rst b/doc/rados/troubleshooting/log-and-debug.rst index 4a332a9001d..0f5afd0a155 100644 --- a/doc/rados/troubleshooting/log-and-debug.rst +++ b/doc/rados/troubleshooting/log-and-debug.rst @@ -147,7 +147,11 @@ Each subsystem has a logging level for its output logs, and for its logs in-memory. You may set different values for each of these subsystems by setting a log file level and a memory level for debug logging. Ceph's logging levels operate on a scale of ``1`` to ``20``, where ``1`` is terse and ``20`` is -verbose. +verbose. In general, the logs in-memory are not sent to the output log unless: + +- a fatal signal is raised or +- an ``assert`` in source code is triggered or +- upon requested. Please consult document on admin socket for more details. A debug logging setting can take a single value for the log level and the memory level, which sets them both as the same value. For example, if you -- 2.47.3