]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: fix desc of option "mon cluster log file"
authorKefu Chai <kchai@redhat.com>
Mon, 6 Nov 2017 16:21:13 +0000 (00:21 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 8 Nov 2017 11:15:26 +0000 (19:15 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/rados/troubleshooting/log-and-debug.rst

index c73b14681db5fff63922c9cfbcfeba7c56ae0728..325e30dc34cec8a7c5dae982ad4e38ea5a10e2c9 100644 (file)
@@ -396,10 +396,17 @@ settings:
 
 ``mon cluster log file``
 
-:Description: The location of the cluster's log file. 
+:Description: The locations of the cluster's log files. There are two channels in
+              Ceph: ``cluster`` and ``audit``. This option represents a mapping
+              from channels to log files, where the log entries of that
+              channel are sent to. The ``default`` entry is a fallback
+              mapping for channels not explicitly specified. So, the following
+              default setting will send cluster log to ``$cluster.log``, and
+              send audit log to ``$cluster.audit.log``, where ``$cluster`` will
+              be replaced with the actual cluster name.
 :Type: String
 :Required: No
-:Default: ``/var/log/ceph/$cluster.log``
+:Default: ``default=/var/log/ceph/$cluster.$channel.log,cluster=/var/log/ceph/$cluster.log``