]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: add a module option for controlling cephadm log dest
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 6 Sep 2023 17:39:06 +0000 (13:39 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 19 Sep 2023 20:17:24 +0000 (16:17 -0400)
commitf550ca98508fe13c80e13f9903cfeb70303956f8
treeba7c82009312a605fb3f2b69264de7cc61f17a63
parentbb7225f4c43670e5f21b83bd2877da35841de467
mgr/cephadm: add a module option for controlling cephadm log dest

Now that cephadm has multiple possible persistent logging destinations
we need a way to choose which one to use when the command is started by
the mgr. Add the option 'cephadm_log_destination' which can take one
of 'file', 'syslog', or 'file,syslog'. If left unset (empty string)
then the behavior is equivalent to 'file' and that is the same as
previous cephadm versions.

Fixes: https://tracker.ceph.com/issues/62233
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py