diff options
Diffstat (limited to 'doc/rados/troubleshooting/log-and-debug.rst')
-rw-r--r-- | doc/rados/troubleshooting/log-and-debug.rst | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/doc/rados/troubleshooting/log-and-debug.rst b/doc/rados/troubleshooting/log-and-debug.rst index 929c3f53f..fa089338c 100644 --- a/doc/rados/troubleshooting/log-and-debug.rst +++ b/doc/rados/troubleshooting/log-and-debug.rst @@ -175,17 +175,19 @@ For each subsystem, there is a logging level for its output logs (a so-called "log level") and a logging level for its in-memory logs (a so-called "memory level"). Different values may be set for these two logging levels in each subsystem. Ceph's logging levels operate on a scale of ``1`` to ``20``, where -``1`` is terse and ``20`` is verbose [#f1]_. As a general rule, the in-memory -logs are not sent to the output log unless one or more of the following -conditions obtain: - -- a fatal signal is raised or -- an ``assert`` in source code is triggered or -- upon requested. Please consult `document on admin socket - <http://docs.ceph.com/en/latest/man/8/ceph/#daemon>`_ for more details. - -.. warning :: - .. [#f1] In certain rare cases, there are logging levels that can take a value greater than 20. The resulting logs are extremely verbose. +``1`` is terse and ``20`` is verbose. In certain rare cases, there are logging +levels that can take a value greater than 20. The resulting logs are extremely +verbose. + +The in-memory logs are not sent to the output log unless one or more of the +following conditions are true: + +- a fatal signal has been raised or +- an assertion within Ceph code has been triggered or +- the sending of in-memory logs to the output log has been manually triggered. + Consult `the portion of the "Ceph Administration Tool documentation + that provides an example of how to submit admin socket commands + <http://docs.ceph.com/en/latest/man/8/ceph/#daemon>`_ for more detail. Log levels and memory levels can be set either together or separately. If a subsystem is assigned a single value, then that value determines both the log |