MCPcopy Create free account
hub / github.com/ceph/ceph / _disable_cluster_log

Method _disable_cluster_log

src/pybind/mgr/mgr_module.py:847–851  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

845 self._module_logger.addHandler(self._cluster_log_handler)
846
847 def _disable_cluster_log(self) -> None:
848 # disable cluster log
849 self.getLogger().warning("disabling logging to cluster")
850 self.log_to_cluster = False
851 self._module_logger.removeHandler(self._cluster_log_handler)
852
853 def _ceph_log_level_to_python(self, log_level: str) -> str:
854 if log_level:

Callers 1

_config_notifyMethod · 0.80

Calls 2

getLoggerMethod · 0.95
warningMethod · 0.45

Tested by

no test coverage detected