]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: log to cluster channel by default
authorSage Weil <sage@redhat.com>
Tue, 25 Feb 2020 19:23:21 +0000 (13:23 -0600)
committerSage Weil <sage@redhat.com>
Thu, 27 Feb 2020 18:05:42 +0000 (12:05 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py

index 51e5e2f7d4dd617e2d008edc1d59edb6da0595cd..4ccf7b6f6868361bb9c20082ed335ae3aea5353a 100644 (file)
@@ -501,6 +501,12 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
             'default': True,
             'desc': 'raise a health warning if the host check fails',
         },
+        {
+            'name': 'log_to_cluster',
+            'type': 'bool',
+            'default': True,
+            'desc': 'log to the "cephadm" cluster log channel"',
+        },
     ]
 
     def __init__(self, *args, **kwargs):
@@ -991,6 +997,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule):
                     opt,  # type: ignore
                     self.get_ceph_option(opt))
             self.log.debug(' native option %s = %s', opt, getattr(self, opt))  # type: ignore
+
         self.event.set()
 
     def notify(self, notify_type, notify_id):