From c0d7e61da54dc25fa0bd0dff1a5c6ffc7d885c19 Mon Sep 17 00:00:00 2001 From: "Ashwin M. Joshi" Date: Fri, 12 Jun 2026 14:08:18 +0530 Subject: [PATCH] doc/cephadm: Document cephadm_binary_logging_level option Add documentation for the new cephadm binary logging level configuration Fixes: https://tracker.ceph.com/issues/74872 Signed-off-by: Ashwin M. Joshi (cherry picked from commit e81c276963672626e6727cbf72392e25ac74c89c) --- doc/cephadm/operations.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/cephadm/operations.rst b/doc/cephadm/operations.rst index dc4a3c625ed6..cc26465ecb49 100644 --- a/doc/cephadm/operations.rst +++ b/doc/cephadm/operations.rst @@ -393,6 +393,34 @@ For example: ``--log-dest`` options described in the bootstrap section above. +Setting Cephadm Log Verbosity +----------------------------- + +The verbosity of cephadm's persistent logging (``/var/log/ceph/cephadm.log`` +and syslog, when enabled) can be controlled separately from its terminal +output. Valid levels are ``info``, ``debug``, ``error``, and ``warning``. +The default is ``debug``. + +When the cephadm orchestration module runs ``cephadm`` on cluster hosts, it +uses the :confval:`mgr/cephadm/cephadm_binary_logging_level` configuration +value: + +.. prompt:: bash # + + ceph config set mgr mgr/cephadm/cephadm_binary_logging_level info + +For manual invocations, pass ``--logging-level`` on the command line: + +.. prompt:: bash # + + cephadm --logging-level info check-host + +.. note:: The logging level applies only to persistent log destinations + (the log file and syslog). Console output during bootstrap and other + interactive use is unchanged. When you run ``cephadm`` directly, the + mgr configuration does not apply; use ``--logging-level`` as shown above. + + Data Location ============= -- 2.47.3