]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: make logging refresh metadata to debug logs configurable
authorAdam King <adking@redhat.com>
Thu, 20 Oct 2022 22:53:18 +0000 (18:53 -0400)
committerAdam King <adking@redhat.com>
Thu, 20 Oct 2022 22:53:18 +0000 (18:53 -0400)
commit9ff19e6705b584efe8bfb35cd29fcc20d1caa638
treef75875eb29ba8a9a85887bdae38a5c6a6f61641d
parentc56282ce15ee0d48fb367d8315e858128c8b48b6
mgr/cephadm: make logging refresh metadata to debug logs configurable

This output is so verbose it actually makes the debug
logs difficult to use. The info logged from one host
refresh can take up over 1000 lines in the logs. I also
find I rarely actually need this info for debugging, so
having it be something you can toggle would be nice.

Fixes: https://tracker.ceph.com/issues/57909
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/offline_watcher.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/ssh.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/tests/test_tuned_profiles.py
src/pybind/mgr/cephadm/tuned_profiles.py