]> 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>
Thu, 25 Jun 2026 10:52:45 +0000 (16:22 +0530)
commit6623e2d74696660fdca8fc92b651ff6c890e0764
tree60075d5704169387c90700f54f3bb513fe4e561b
parentf72d676118b34e0efa4fa3db7562a9a41e23b66a
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>
(cherry picked from commit 63b91836b00bae9fb2ba19ee837edccb7f2840bb)
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