From 73a5cd2464e88d1d2e3d7f7e9bc5c4a273d89c73 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 7 Nov 2017 00:21:13 +0800 Subject: [PATCH] doc: fix desc of option "mon cluster log file" Signed-off-by: Kefu Chai --- doc/rados/troubleshooting/log-and-debug.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/rados/troubleshooting/log-and-debug.rst b/doc/rados/troubleshooting/log-and-debug.rst index c73b14681db..325e30dc34c 100644 --- a/doc/rados/troubleshooting/log-and-debug.rst +++ b/doc/rados/troubleshooting/log-and-debug.rst @@ -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`` -- 2.47.3