]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Control cephadm.log messages based on a new mgr logging level flag
authorAshwin M. Joshi <ashjosh1@in.ibm.com>
Tue, 10 Feb 2026 06:29:49 +0000 (11:59 +0530)
committerAshwin M. Joshi <ashjosh1@in.ibm.com>
Fri, 12 Jun 2026 08:07:31 +0000 (13:37 +0530)
commit63b91836b00bae9fb2ba19ee837edccb7f2840bb
treee00644fc3b8248cad45ffcfa535d04a0d6488647
parent12c63f2ab5eda7a3c0f22c380d3a45b4452186a0
mgr/cephadm: Control cephadm.log messages based on a new mgr logging level flag

  Introduces a new 'cephadm_binary_logging_level' config option to control
  the verbosity of cephadm logging to persistent destinations (cephadm.log, syslog).

  - Adds --logging-level CLI flag (info, debug, error, warning)
  - Adds mgr/cephadm/cephadm_binary_logging_level config option
  - Applies logging level to file and syslog handlers
  - Console handlers maintain their defaults for terminal UX

Fixes: https://tracker.ceph.com/issues/74872
Signed-off-by: Ashwin M. Joshi <ashjosh1@in.ibm.com>
src/cephadm/cephadm.py
src/cephadm/cephadmlib/context.py
src/cephadm/cephadmlib/logging.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/tests/test_cephadm.py